AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetServiceSettingsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/OrganizationConfiguration.h>
11#include <aws/license-manager/model/ServiceStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LicenseManager {
25namespace Model {
27 public:
28 AWS_LICENSEMANAGER_API GetServiceSettingsResult() = default;
31
33
37 inline const Aws::String& GetS3BucketArn() const { return m_s3BucketArn; }
38 template <typename S3BucketArnT = Aws::String>
39 void SetS3BucketArn(S3BucketArnT&& value) {
40 m_s3BucketArnHasBeenSet = true;
41 m_s3BucketArn = std::forward<S3BucketArnT>(value);
42 }
43 template <typename S3BucketArnT = Aws::String>
45 SetS3BucketArn(std::forward<S3BucketArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetSnsTopicArn() const { return m_snsTopicArn; }
55 template <typename SnsTopicArnT = Aws::String>
56 void SetSnsTopicArn(SnsTopicArnT&& value) {
57 m_snsTopicArnHasBeenSet = true;
58 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
59 }
60 template <typename SnsTopicArnT = Aws::String>
62 SetSnsTopicArn(std::forward<SnsTopicArnT>(value));
63 return *this;
64 }
66
68
72 inline const OrganizationConfiguration& GetOrganizationConfiguration() const { return m_organizationConfiguration; }
73 template <typename OrganizationConfigurationT = OrganizationConfiguration>
74 void SetOrganizationConfiguration(OrganizationConfigurationT&& value) {
75 m_organizationConfigurationHasBeenSet = true;
76 m_organizationConfiguration = std::forward<OrganizationConfigurationT>(value);
77 }
78 template <typename OrganizationConfigurationT = OrganizationConfiguration>
79 GetServiceSettingsResult& WithOrganizationConfiguration(OrganizationConfigurationT&& value) {
80 SetOrganizationConfiguration(std::forward<OrganizationConfigurationT>(value));
81 return *this;
82 }
84
86
89 inline bool GetEnableCrossAccountsDiscovery() const { return m_enableCrossAccountsDiscovery; }
90 inline void SetEnableCrossAccountsDiscovery(bool value) {
91 m_enableCrossAccountsDiscoveryHasBeenSet = true;
92 m_enableCrossAccountsDiscovery = value;
93 }
96 return *this;
97 }
99
101
105 inline const Aws::String& GetLicenseManagerResourceShareArn() const { return m_licenseManagerResourceShareArn; }
106 template <typename LicenseManagerResourceShareArnT = Aws::String>
107 void SetLicenseManagerResourceShareArn(LicenseManagerResourceShareArnT&& value) {
108 m_licenseManagerResourceShareArnHasBeenSet = true;
109 m_licenseManagerResourceShareArn = std::forward<LicenseManagerResourceShareArnT>(value);
110 }
111 template <typename LicenseManagerResourceShareArnT = Aws::String>
112 GetServiceSettingsResult& WithLicenseManagerResourceShareArn(LicenseManagerResourceShareArnT&& value) {
113 SetLicenseManagerResourceShareArn(std::forward<LicenseManagerResourceShareArnT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetCrossRegionDiscoveryHomeRegion() const { return m_crossRegionDiscoveryHomeRegion; }
123 template <typename CrossRegionDiscoveryHomeRegionT = Aws::String>
124 void SetCrossRegionDiscoveryHomeRegion(CrossRegionDiscoveryHomeRegionT&& value) {
125 m_crossRegionDiscoveryHomeRegionHasBeenSet = true;
126 m_crossRegionDiscoveryHomeRegion = std::forward<CrossRegionDiscoveryHomeRegionT>(value);
127 }
128 template <typename CrossRegionDiscoveryHomeRegionT = Aws::String>
129 GetServiceSettingsResult& WithCrossRegionDiscoveryHomeRegion(CrossRegionDiscoveryHomeRegionT&& value) {
130 SetCrossRegionDiscoveryHomeRegion(std::forward<CrossRegionDiscoveryHomeRegionT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Aws::String>& GetCrossRegionDiscoverySourceRegions() const { return m_crossRegionDiscoverySourceRegions; }
140 template <typename CrossRegionDiscoverySourceRegionsT = Aws::Vector<Aws::String>>
141 void SetCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT&& value) {
142 m_crossRegionDiscoverySourceRegionsHasBeenSet = true;
143 m_crossRegionDiscoverySourceRegions = std::forward<CrossRegionDiscoverySourceRegionsT>(value);
144 }
145 template <typename CrossRegionDiscoverySourceRegionsT = Aws::Vector<Aws::String>>
146 GetServiceSettingsResult& WithCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT&& value) {
147 SetCrossRegionDiscoverySourceRegions(std::forward<CrossRegionDiscoverySourceRegionsT>(value));
148 return *this;
149 }
150 template <typename CrossRegionDiscoverySourceRegionsT = Aws::String>
151 GetServiceSettingsResult& AddCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT&& value) {
152 m_crossRegionDiscoverySourceRegionsHasBeenSet = true;
153 m_crossRegionDiscoverySourceRegions.emplace_back(std::forward<CrossRegionDiscoverySourceRegionsT>(value));
154 return *this;
155 }
157
159
162 inline const ServiceStatus& GetServiceStatus() const { return m_serviceStatus; }
163 template <typename ServiceStatusT = ServiceStatus>
164 void SetServiceStatus(ServiceStatusT&& value) {
165 m_serviceStatusHasBeenSet = true;
166 m_serviceStatus = std::forward<ServiceStatusT>(value);
167 }
168 template <typename ServiceStatusT = ServiceStatus>
170 SetServiceStatus(std::forward<ServiceStatusT>(value));
171 return *this;
172 }
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 template <typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) {
180 m_requestIdHasBeenSet = true;
181 m_requestId = std::forward<RequestIdT>(value);
182 }
183 template <typename RequestIdT = Aws::String>
185 SetRequestId(std::forward<RequestIdT>(value));
186 return *this;
187 }
189 private:
190 Aws::String m_s3BucketArn;
191
192 Aws::String m_snsTopicArn;
193
194 OrganizationConfiguration m_organizationConfiguration;
195
196 bool m_enableCrossAccountsDiscovery{false};
197
198 Aws::String m_licenseManagerResourceShareArn;
199
200 Aws::String m_crossRegionDiscoveryHomeRegion;
201
202 Aws::Vector<Aws::String> m_crossRegionDiscoverySourceRegions;
203
204 ServiceStatus m_serviceStatus;
205
206 Aws::String m_requestId;
207 bool m_s3BucketArnHasBeenSet = false;
208 bool m_snsTopicArnHasBeenSet = false;
209 bool m_organizationConfigurationHasBeenSet = false;
210 bool m_enableCrossAccountsDiscoveryHasBeenSet = false;
211 bool m_licenseManagerResourceShareArnHasBeenSet = false;
212 bool m_crossRegionDiscoveryHomeRegionHasBeenSet = false;
213 bool m_crossRegionDiscoverySourceRegionsHasBeenSet = false;
214 bool m_serviceStatusHasBeenSet = false;
215 bool m_requestIdHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace LicenseManager
220} // namespace Aws
GetServiceSettingsResult & WithRequestId(RequestIdT &&value)
const OrganizationConfiguration & GetOrganizationConfiguration() const
GetServiceSettingsResult & WithCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT &&value)
GetServiceSettingsResult & AddCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT &&value)
GetServiceSettingsResult & WithLicenseManagerResourceShareArn(LicenseManagerResourceShareArnT &&value)
GetServiceSettingsResult & WithEnableCrossAccountsDiscovery(bool value)
GetServiceSettingsResult & WithSnsTopicArn(SnsTopicArnT &&value)
GetServiceSettingsResult & WithCrossRegionDiscoveryHomeRegion(CrossRegionDiscoveryHomeRegionT &&value)
void SetOrganizationConfiguration(OrganizationConfigurationT &&value)
GetServiceSettingsResult & WithS3BucketArn(S3BucketArnT &&value)
void SetLicenseManagerResourceShareArn(LicenseManagerResourceShareArnT &&value)
AWS_LICENSEMANAGER_API GetServiceSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceSettingsResult & WithServiceStatus(ServiceStatusT &&value)
void SetCrossRegionDiscoverySourceRegions(CrossRegionDiscoverySourceRegionsT &&value)
const Aws::Vector< Aws::String > & GetCrossRegionDiscoverySourceRegions() const
GetServiceSettingsResult & WithOrganizationConfiguration(OrganizationConfigurationT &&value)
void SetCrossRegionDiscoveryHomeRegion(CrossRegionDiscoveryHomeRegionT &&value)
AWS_LICENSEMANAGER_API GetServiceSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LICENSEMANAGER_API GetServiceSettingsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue