AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ProviderSummary.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ConnectorProviderName.h>
9#include <aws/securityhub/model/ConnectorStatus.h>
10#include <aws/securityhub/model/ProviderDetail.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
31 public:
32 AWS_SECURITYHUB_API ProviderSummary() = default;
33 AWS_SECURITYHUB_API ProviderSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API ProviderSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ConnectorProviderName GetProviderName() const { return m_providerName; }
42 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
44 m_providerNameHasBeenSet = true;
45 m_providerName = value;
46 }
48 SetProviderName(value);
49 return *this;
50 }
52
54
57 inline ConnectorStatus GetConnectorStatus() const { return m_connectorStatus; }
58 inline bool ConnectorStatusHasBeenSet() const { return m_connectorStatusHasBeenSet; }
60 m_connectorStatusHasBeenSet = true;
61 m_connectorStatus = value;
62 }
64 SetConnectorStatus(value);
65 return *this;
66 }
68
70
71 inline const ProviderDetail& GetProviderConfiguration() const { return m_providerConfiguration; }
72 inline bool ProviderConfigurationHasBeenSet() const { return m_providerConfigurationHasBeenSet; }
73 template <typename ProviderConfigurationT = ProviderDetail>
74 void SetProviderConfiguration(ProviderConfigurationT&& value) {
75 m_providerConfigurationHasBeenSet = true;
76 m_providerConfiguration = std::forward<ProviderConfigurationT>(value);
77 }
78 template <typename ProviderConfigurationT = ProviderDetail>
79 ProviderSummary& WithProviderConfiguration(ProviderConfigurationT&& value) {
80 SetProviderConfiguration(std::forward<ProviderConfigurationT>(value));
81 return *this;
82 }
84 private:
86
88
89 ProviderDetail m_providerConfiguration;
90 bool m_providerNameHasBeenSet = false;
91 bool m_connectorStatusHasBeenSet = false;
92 bool m_providerConfigurationHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SecurityHub
97} // namespace Aws
ProviderSummary & WithProviderConfiguration(ProviderConfigurationT &&value)
ProviderSummary & WithConnectorStatus(ConnectorStatus value)
void SetConnectorStatus(ConnectorStatus value)
const ProviderDetail & GetProviderConfiguration() const
ProviderSummary & WithProviderName(ConnectorProviderName value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProviderConfiguration(ProviderConfigurationT &&value)
ConnectorProviderName GetProviderName() const
AWS_SECURITYHUB_API ProviderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ProviderSummary()=default
AWS_SECURITYHUB_API ProviderSummary(Aws::Utils::Json::JsonView jsonValue)
void SetProviderName(ConnectorProviderName value)
Aws::Utils::Json::JsonValue JsonValue