AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OrganizationConformancePack.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/config/model/ConformancePackInputParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConfigService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONFIGSERVICE_API OrganizationConformancePack() = default;
41 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetOrganizationConformancePackName() const { return m_organizationConformancePackName; }
49 inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; }
50 template<typename OrganizationConformancePackNameT = Aws::String>
51 void SetOrganizationConformancePackName(OrganizationConformancePackNameT&& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = std::forward<OrganizationConformancePackNameT>(value); }
52 template<typename OrganizationConformancePackNameT = Aws::String>
53 OrganizationConformancePack& WithOrganizationConformancePackName(OrganizationConformancePackNameT&& value) { SetOrganizationConformancePackName(std::forward<OrganizationConformancePackNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetOrganizationConformancePackArn() const { return m_organizationConformancePackArn; }
61 inline bool OrganizationConformancePackArnHasBeenSet() const { return m_organizationConformancePackArnHasBeenSet; }
62 template<typename OrganizationConformancePackArnT = Aws::String>
63 void SetOrganizationConformancePackArn(OrganizationConformancePackArnT&& value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn = std::forward<OrganizationConformancePackArnT>(value); }
64 template<typename OrganizationConformancePackArnT = Aws::String>
65 OrganizationConformancePack& WithOrganizationConformancePackArn(OrganizationConformancePackArnT&& value) { SetOrganizationConformancePackArn(std::forward<OrganizationConformancePackArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetDeliveryS3Bucket() const { return m_deliveryS3Bucket; }
74 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
75 template<typename DeliveryS3BucketT = Aws::String>
76 void SetDeliveryS3Bucket(DeliveryS3BucketT&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::forward<DeliveryS3BucketT>(value); }
77 template<typename DeliveryS3BucketT = Aws::String>
78 OrganizationConformancePack& WithDeliveryS3Bucket(DeliveryS3BucketT&& value) { SetDeliveryS3Bucket(std::forward<DeliveryS3BucketT>(value)); return *this;}
80
82
86 inline const Aws::String& GetDeliveryS3KeyPrefix() const { return m_deliveryS3KeyPrefix; }
87 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
88 template<typename DeliveryS3KeyPrefixT = Aws::String>
89 void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::forward<DeliveryS3KeyPrefixT>(value); }
90 template<typename DeliveryS3KeyPrefixT = Aws::String>
91 OrganizationConformancePack& WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { SetDeliveryS3KeyPrefix(std::forward<DeliveryS3KeyPrefixT>(value)); return *this;}
93
95
98 inline const Aws::Vector<ConformancePackInputParameter>& GetConformancePackInputParameters() const { return m_conformancePackInputParameters; }
99 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
100 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
101 void SetConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::forward<ConformancePackInputParametersT>(value); }
102 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
103 OrganizationConformancePack& WithConformancePackInputParameters(ConformancePackInputParametersT&& value) { SetConformancePackInputParameters(std::forward<ConformancePackInputParametersT>(value)); return *this;}
104 template<typename ConformancePackInputParametersT = ConformancePackInputParameter>
105 OrganizationConformancePack& AddConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.emplace_back(std::forward<ConformancePackInputParametersT>(value)); return *this; }
107
109
113 inline const Aws::Vector<Aws::String>& GetExcludedAccounts() const { return m_excludedAccounts; }
114 inline bool ExcludedAccountsHasBeenSet() const { return m_excludedAccountsHasBeenSet; }
115 template<typename ExcludedAccountsT = Aws::Vector<Aws::String>>
116 void SetExcludedAccounts(ExcludedAccountsT&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts = std::forward<ExcludedAccountsT>(value); }
117 template<typename ExcludedAccountsT = Aws::Vector<Aws::String>>
118 OrganizationConformancePack& WithExcludedAccounts(ExcludedAccountsT&& value) { SetExcludedAccounts(std::forward<ExcludedAccountsT>(value)); return *this;}
119 template<typename ExcludedAccountsT = Aws::String>
120 OrganizationConformancePack& AddExcludedAccounts(ExcludedAccountsT&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.emplace_back(std::forward<ExcludedAccountsT>(value)); return *this; }
122
124
127 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
128 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
129 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
130 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
131 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
132 OrganizationConformancePack& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
134 private:
135
136 Aws::String m_organizationConformancePackName;
137 bool m_organizationConformancePackNameHasBeenSet = false;
138
139 Aws::String m_organizationConformancePackArn;
140 bool m_organizationConformancePackArnHasBeenSet = false;
141
142 Aws::String m_deliveryS3Bucket;
143 bool m_deliveryS3BucketHasBeenSet = false;
144
145 Aws::String m_deliveryS3KeyPrefix;
146 bool m_deliveryS3KeyPrefixHasBeenSet = false;
147
148 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
149 bool m_conformancePackInputParametersHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_excludedAccounts;
152 bool m_excludedAccountsHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdateTime{};
155 bool m_lastUpdateTimeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace ConfigService
160} // namespace Aws
OrganizationConformancePack & AddConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithExcludedAccounts(ExcludedAccountsT &&value)
OrganizationConformancePack & WithOrganizationConformancePackArn(OrganizationConformancePackArnT &&value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
void SetOrganizationConformancePackArn(OrganizationConformancePackArnT &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePack & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API OrganizationConformancePack()=default
void SetConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Vector< Aws::String > & GetExcludedAccounts() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationConformancePack & AddExcludedAccounts(ExcludedAccountsT &&value)
OrganizationConformancePack & WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT &&value)
OrganizationConformancePack & WithOrganizationConformancePackName(OrganizationConformancePackNameT &&value)
OrganizationConformancePack & WithDeliveryS3Bucket(DeliveryS3BucketT &&value)
void SetOrganizationConformancePackName(OrganizationConformancePackNameT &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePack(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue