AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
CspmProviderSummary.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/CspmConnectorProviderName.h>
9#include <aws/securityhub/model/CspmConnectorStatus.h>
10#include <aws/securityhub/model/CspmProviderDetail.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 CspmProviderSummary() = default;
33 AWS_SECURITYHUB_API CspmProviderSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline CspmConnectorProviderName 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 CspmConnectorStatus 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
73 inline const CspmProviderDetail& GetProviderConfiguration() const { return m_providerConfiguration; }
74 inline bool ProviderConfigurationHasBeenSet() const { return m_providerConfigurationHasBeenSet; }
75 template <typename ProviderConfigurationT = CspmProviderDetail>
76 void SetProviderConfiguration(ProviderConfigurationT&& value) {
77 m_providerConfigurationHasBeenSet = true;
78 m_providerConfiguration = std::forward<ProviderConfigurationT>(value);
79 }
80 template <typename ProviderConfigurationT = CspmProviderDetail>
81 CspmProviderSummary& WithProviderConfiguration(ProviderConfigurationT&& value) {
82 SetProviderConfiguration(std::forward<ProviderConfigurationT>(value));
83 return *this;
84 }
86 private:
88
90
91 CspmProviderDetail m_providerConfiguration;
92 bool m_providerNameHasBeenSet = false;
93 bool m_connectorStatusHasBeenSet = false;
94 bool m_providerConfigurationHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SecurityHub
99} // namespace Aws
CspmProviderSummary & WithProviderName(CspmConnectorProviderName value)
void SetConnectorStatus(CspmConnectorStatus value)
CspmConnectorProviderName GetProviderName() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
CspmProviderSummary & WithConnectorStatus(CspmConnectorStatus value)
AWS_SECURITYHUB_API CspmProviderSummary()=default
CspmProviderSummary & WithProviderConfiguration(ProviderConfigurationT &&value)
AWS_SECURITYHUB_API CspmProviderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProviderName(CspmConnectorProviderName value)
const CspmProviderDetail & GetProviderConfiguration() const
AWS_SECURITYHUB_API CspmProviderSummary(Aws::Utils::Json::JsonView jsonValue)
void SetProviderConfiguration(ProviderConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue