AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainConfigurationRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/AuthorizerConfig.h>
11#include <aws/iot/model/DomainConfigurationStatus.h>
12#include <aws/iot/model/TlsConfig.h>
13#include <aws/iot/model/ServerCertificateConfig.h>
14#include <aws/iot/model/AuthenticationType.h>
15#include <aws/iot/model/ApplicationProtocol.h>
16#include <aws/iot/model/ClientCertificateConfig.h>
17#include <utility>
18
19namespace Aws
20{
21namespace IoT
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainConfiguration"; }
38
39 AWS_IOT_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetDomainConfigurationName() const{ return m_domainConfigurationName; }
47 inline bool DomainConfigurationNameHasBeenSet() const { return m_domainConfigurationNameHasBeenSet; }
48 inline void SetDomainConfigurationName(const Aws::String& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = value; }
49 inline void SetDomainConfigurationName(Aws::String&& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = std::move(value); }
50 inline void SetDomainConfigurationName(const char* value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName.assign(value); }
55
57
60 inline const AuthorizerConfig& GetAuthorizerConfig() const{ return m_authorizerConfig; }
61 inline bool AuthorizerConfigHasBeenSet() const { return m_authorizerConfigHasBeenSet; }
62 inline void SetAuthorizerConfig(const AuthorizerConfig& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = value; }
63 inline void SetAuthorizerConfig(AuthorizerConfig&& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = std::move(value); }
67
69
72 inline const DomainConfigurationStatus& GetDomainConfigurationStatus() const{ return m_domainConfigurationStatus; }
73 inline bool DomainConfigurationStatusHasBeenSet() const { return m_domainConfigurationStatusHasBeenSet; }
74 inline void SetDomainConfigurationStatus(const DomainConfigurationStatus& value) { m_domainConfigurationStatusHasBeenSet = true; m_domainConfigurationStatus = value; }
75 inline void SetDomainConfigurationStatus(DomainConfigurationStatus&& value) { m_domainConfigurationStatusHasBeenSet = true; m_domainConfigurationStatus = std::move(value); }
79
81
84 inline bool GetRemoveAuthorizerConfig() const{ return m_removeAuthorizerConfig; }
85 inline bool RemoveAuthorizerConfigHasBeenSet() const { return m_removeAuthorizerConfigHasBeenSet; }
86 inline void SetRemoveAuthorizerConfig(bool value) { m_removeAuthorizerConfigHasBeenSet = true; m_removeAuthorizerConfig = value; }
89
91
94 inline const TlsConfig& GetTlsConfig() const{ return m_tlsConfig; }
95 inline bool TlsConfigHasBeenSet() const { return m_tlsConfigHasBeenSet; }
96 inline void SetTlsConfig(const TlsConfig& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = value; }
97 inline void SetTlsConfig(TlsConfig&& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = std::move(value); }
98 inline UpdateDomainConfigurationRequest& WithTlsConfig(const TlsConfig& value) { SetTlsConfig(value); return *this;}
99 inline UpdateDomainConfigurationRequest& WithTlsConfig(TlsConfig&& value) { SetTlsConfig(std::move(value)); return *this;}
101
103
106 inline const ServerCertificateConfig& GetServerCertificateConfig() const{ return m_serverCertificateConfig; }
107 inline bool ServerCertificateConfigHasBeenSet() const { return m_serverCertificateConfigHasBeenSet; }
108 inline void SetServerCertificateConfig(const ServerCertificateConfig& value) { m_serverCertificateConfigHasBeenSet = true; m_serverCertificateConfig = value; }
109 inline void SetServerCertificateConfig(ServerCertificateConfig&& value) { m_serverCertificateConfigHasBeenSet = true; m_serverCertificateConfig = std::move(value); }
113
115
135 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
136 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
137 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
138 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
142
144
155 inline const ApplicationProtocol& GetApplicationProtocol() const{ return m_applicationProtocol; }
156 inline bool ApplicationProtocolHasBeenSet() const { return m_applicationProtocolHasBeenSet; }
157 inline void SetApplicationProtocol(const ApplicationProtocol& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = value; }
158 inline void SetApplicationProtocol(ApplicationProtocol&& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = std::move(value); }
162
164
167 inline const ClientCertificateConfig& GetClientCertificateConfig() const{ return m_clientCertificateConfig; }
168 inline bool ClientCertificateConfigHasBeenSet() const { return m_clientCertificateConfigHasBeenSet; }
169 inline void SetClientCertificateConfig(const ClientCertificateConfig& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = value; }
170 inline void SetClientCertificateConfig(ClientCertificateConfig&& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = std::move(value); }
174 private:
175
176 Aws::String m_domainConfigurationName;
177 bool m_domainConfigurationNameHasBeenSet = false;
178
179 AuthorizerConfig m_authorizerConfig;
180 bool m_authorizerConfigHasBeenSet = false;
181
182 DomainConfigurationStatus m_domainConfigurationStatus;
183 bool m_domainConfigurationStatusHasBeenSet = false;
184
185 bool m_removeAuthorizerConfig;
186 bool m_removeAuthorizerConfigHasBeenSet = false;
187
188 TlsConfig m_tlsConfig;
189 bool m_tlsConfigHasBeenSet = false;
190
191 ServerCertificateConfig m_serverCertificateConfig;
192 bool m_serverCertificateConfigHasBeenSet = false;
193
194 AuthenticationType m_authenticationType;
195 bool m_authenticationTypeHasBeenSet = false;
196
197 ApplicationProtocol m_applicationProtocol;
198 bool m_applicationProtocolHasBeenSet = false;
199
200 ClientCertificateConfig m_clientCertificateConfig;
201 bool m_clientCertificateConfigHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace IoT
206} // namespace Aws
UpdateDomainConfigurationRequest & WithAuthorizerConfig(const AuthorizerConfig &value)
void SetClientCertificateConfig(const ClientCertificateConfig &value)
UpdateDomainConfigurationRequest & WithApplicationProtocol(ApplicationProtocol &&value)
UpdateDomainConfigurationRequest & WithTlsConfig(const TlsConfig &value)
UpdateDomainConfigurationRequest & WithDomainConfigurationName(const Aws::String &value)
UpdateDomainConfigurationRequest & WithAuthenticationType(AuthenticationType &&value)
UpdateDomainConfigurationRequest & WithDomainConfigurationStatus(DomainConfigurationStatus &&value)
UpdateDomainConfigurationRequest & WithServerCertificateConfig(ServerCertificateConfig &&value)
void SetServerCertificateConfig(const ServerCertificateConfig &value)
UpdateDomainConfigurationRequest & WithApplicationProtocol(const ApplicationProtocol &value)
const ServerCertificateConfig & GetServerCertificateConfig() const
UpdateDomainConfigurationRequest & WithDomainConfigurationName(const char *value)
UpdateDomainConfigurationRequest & WithTlsConfig(TlsConfig &&value)
UpdateDomainConfigurationRequest & WithClientCertificateConfig(const ClientCertificateConfig &value)
const DomainConfigurationStatus & GetDomainConfigurationStatus() const
UpdateDomainConfigurationRequest & WithAuthorizerConfig(AuthorizerConfig &&value)
const ClientCertificateConfig & GetClientCertificateConfig() const
UpdateDomainConfigurationRequest & WithServerCertificateConfig(const ServerCertificateConfig &value)
UpdateDomainConfigurationRequest & WithDomainConfigurationStatus(const DomainConfigurationStatus &value)
void SetDomainConfigurationStatus(const DomainConfigurationStatus &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetDomainConfigurationStatus(DomainConfigurationStatus &&value)
UpdateDomainConfigurationRequest & WithAuthenticationType(const AuthenticationType &value)
UpdateDomainConfigurationRequest & WithRemoveAuthorizerConfig(bool value)
UpdateDomainConfigurationRequest & WithClientCertificateConfig(ClientCertificateConfig &&value)
UpdateDomainConfigurationRequest & WithDomainConfigurationName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String