AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOrganizationConformancePackName(const Aws::String& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = value; }
51 inline void SetOrganizationConformancePackName(Aws::String&& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = std::move(value); }
52 inline void SetOrganizationConformancePackName(const char* value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName.assign(value); }
57
59
62 inline const Aws::String& GetOrganizationConformancePackArn() const{ return m_organizationConformancePackArn; }
63 inline bool OrganizationConformancePackArnHasBeenSet() const { return m_organizationConformancePackArnHasBeenSet; }
64 inline void SetOrganizationConformancePackArn(const Aws::String& value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn = value; }
65 inline void SetOrganizationConformancePackArn(Aws::String&& value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn = std::move(value); }
66 inline void SetOrganizationConformancePackArn(const char* value) { m_organizationConformancePackArnHasBeenSet = true; m_organizationConformancePackArn.assign(value); }
71
73
77 inline const Aws::String& GetDeliveryS3Bucket() const{ return m_deliveryS3Bucket; }
78 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
79 inline void SetDeliveryS3Bucket(const Aws::String& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = value; }
80 inline void SetDeliveryS3Bucket(Aws::String&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::move(value); }
81 inline void SetDeliveryS3Bucket(const char* value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket.assign(value); }
83 inline OrganizationConformancePack& WithDeliveryS3Bucket(Aws::String&& value) { SetDeliveryS3Bucket(std::move(value)); return *this;}
84 inline OrganizationConformancePack& WithDeliveryS3Bucket(const char* value) { SetDeliveryS3Bucket(value); return *this;}
86
88
92 inline const Aws::String& GetDeliveryS3KeyPrefix() const{ return m_deliveryS3KeyPrefix; }
93 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
94 inline void SetDeliveryS3KeyPrefix(const Aws::String& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = value; }
95 inline void SetDeliveryS3KeyPrefix(Aws::String&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::move(value); }
96 inline void SetDeliveryS3KeyPrefix(const char* value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix.assign(value); }
99 inline OrganizationConformancePack& WithDeliveryS3KeyPrefix(const char* value) { SetDeliveryS3KeyPrefix(value); return *this;}
101
103
106 inline const Aws::Vector<ConformancePackInputParameter>& GetConformancePackInputParameters() const{ return m_conformancePackInputParameters; }
107 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
108 inline void SetConformancePackInputParameters(const Aws::Vector<ConformancePackInputParameter>& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = value; }
109 inline void SetConformancePackInputParameters(Aws::Vector<ConformancePackInputParameter>&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::move(value); }
112 inline OrganizationConformancePack& AddConformancePackInputParameters(const ConformancePackInputParameter& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(value); return *this; }
113 inline OrganizationConformancePack& AddConformancePackInputParameters(ConformancePackInputParameter&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(std::move(value)); return *this; }
115
117
121 inline const Aws::Vector<Aws::String>& GetExcludedAccounts() const{ return m_excludedAccounts; }
122 inline bool ExcludedAccountsHasBeenSet() const { return m_excludedAccountsHasBeenSet; }
123 inline void SetExcludedAccounts(const Aws::Vector<Aws::String>& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts = value; }
124 inline void SetExcludedAccounts(Aws::Vector<Aws::String>&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts = std::move(value); }
127 inline OrganizationConformancePack& AddExcludedAccounts(const Aws::String& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; }
128 inline OrganizationConformancePack& AddExcludedAccounts(Aws::String&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(std::move(value)); return *this; }
129 inline OrganizationConformancePack& AddExcludedAccounts(const char* value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
137 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
138 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
139 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
143 private:
144
145 Aws::String m_organizationConformancePackName;
146 bool m_organizationConformancePackNameHasBeenSet = false;
147
148 Aws::String m_organizationConformancePackArn;
149 bool m_organizationConformancePackArnHasBeenSet = false;
150
151 Aws::String m_deliveryS3Bucket;
152 bool m_deliveryS3BucketHasBeenSet = false;
153
154 Aws::String m_deliveryS3KeyPrefix;
155 bool m_deliveryS3KeyPrefixHasBeenSet = false;
156
157 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
158 bool m_conformancePackInputParametersHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_excludedAccounts;
161 bool m_excludedAccountsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdateTime;
164 bool m_lastUpdateTimeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace ConfigService
169} // namespace Aws
OrganizationConformancePack & WithOrganizationConformancePackName(Aws::String &&value)
OrganizationConformancePack & WithConformancePackInputParameters(const Aws::Vector< ConformancePackInputParameter > &value)
OrganizationConformancePack & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetConformancePackInputParameters(const Aws::Vector< ConformancePackInputParameter > &value)
void SetConformancePackInputParameters(Aws::Vector< ConformancePackInputParameter > &&value)
OrganizationConformancePack & WithOrganizationConformancePackArn(Aws::String &&value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
OrganizationConformancePack & WithDeliveryS3KeyPrefix(const Aws::String &value)
OrganizationConformancePack & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePack & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationConformancePack & AddExcludedAccounts(const Aws::String &value)
OrganizationConformancePack & WithDeliveryS3Bucket(const char *value)
OrganizationConformancePack & AddConformancePackInputParameters(ConformancePackInputParameter &&value)
const Aws::Vector< Aws::String > & GetExcludedAccounts() const
OrganizationConformancePack & WithOrganizationConformancePackArn(const Aws::String &value)
OrganizationConformancePack & WithOrganizationConformancePackArn(const char *value)
OrganizationConformancePack & WithDeliveryS3KeyPrefix(Aws::String &&value)
OrganizationConformancePack & AddExcludedAccounts(const char *value)
OrganizationConformancePack & WithDeliveryS3Bucket(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationConformancePack & WithExcludedAccounts(const Aws::Vector< Aws::String > &value)
void SetExcludedAccounts(const Aws::Vector< Aws::String > &value)
OrganizationConformancePack & AddConformancePackInputParameters(const ConformancePackInputParameter &value)
OrganizationConformancePack & WithConformancePackInputParameters(Aws::Vector< ConformancePackInputParameter > &&value)
OrganizationConformancePack & AddExcludedAccounts(Aws::String &&value)
OrganizationConformancePack & WithExcludedAccounts(Aws::Vector< Aws::String > &&value)
OrganizationConformancePack & WithDeliveryS3KeyPrefix(const char *value)
OrganizationConformancePack & WithDeliveryS3Bucket(const Aws::String &value)
OrganizationConformancePack & WithOrganizationConformancePackName(const Aws::String &value)
AWS_CONFIGSERVICE_API OrganizationConformancePack(Aws::Utils::Json::JsonView jsonValue)
OrganizationConformancePack & WithOrganizationConformancePackName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue