AWS SDK for C++  1.9.132
AWS SDK for C++
UpdateDomainConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace IoT
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainConfiguration"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetDomainConfigurationName() const{ return m_domainConfigurationName; }
41 
45  inline bool DomainConfigurationNameHasBeenSet() const { return m_domainConfigurationNameHasBeenSet; }
46 
50  inline void SetDomainConfigurationName(const Aws::String& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = value; }
51 
55  inline void SetDomainConfigurationName(Aws::String&& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = std::move(value); }
56 
60  inline void SetDomainConfigurationName(const char* value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName.assign(value); }
61 
65  inline UpdateDomainConfigurationRequest& WithDomainConfigurationName(const Aws::String& value) { SetDomainConfigurationName(value); return *this;}
66 
70  inline UpdateDomainConfigurationRequest& WithDomainConfigurationName(Aws::String&& value) { SetDomainConfigurationName(std::move(value)); return *this;}
71 
75  inline UpdateDomainConfigurationRequest& WithDomainConfigurationName(const char* value) { SetDomainConfigurationName(value); return *this;}
76 
77 
81  inline const AuthorizerConfig& GetAuthorizerConfig() const{ return m_authorizerConfig; }
82 
86  inline bool AuthorizerConfigHasBeenSet() const { return m_authorizerConfigHasBeenSet; }
87 
91  inline void SetAuthorizerConfig(const AuthorizerConfig& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = value; }
92 
96  inline void SetAuthorizerConfig(AuthorizerConfig&& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = std::move(value); }
97 
101  inline UpdateDomainConfigurationRequest& WithAuthorizerConfig(const AuthorizerConfig& value) { SetAuthorizerConfig(value); return *this;}
102 
106  inline UpdateDomainConfigurationRequest& WithAuthorizerConfig(AuthorizerConfig&& value) { SetAuthorizerConfig(std::move(value)); return *this;}
107 
108 
112  inline const DomainConfigurationStatus& GetDomainConfigurationStatus() const{ return m_domainConfigurationStatus; }
113 
117  inline bool DomainConfigurationStatusHasBeenSet() const { return m_domainConfigurationStatusHasBeenSet; }
118 
122  inline void SetDomainConfigurationStatus(const DomainConfigurationStatus& value) { m_domainConfigurationStatusHasBeenSet = true; m_domainConfigurationStatus = value; }
123 
127  inline void SetDomainConfigurationStatus(DomainConfigurationStatus&& value) { m_domainConfigurationStatusHasBeenSet = true; m_domainConfigurationStatus = std::move(value); }
128 
132  inline UpdateDomainConfigurationRequest& WithDomainConfigurationStatus(const DomainConfigurationStatus& value) { SetDomainConfigurationStatus(value); return *this;}
133 
137  inline UpdateDomainConfigurationRequest& WithDomainConfigurationStatus(DomainConfigurationStatus&& value) { SetDomainConfigurationStatus(std::move(value)); return *this;}
138 
139 
143  inline bool GetRemoveAuthorizerConfig() const{ return m_removeAuthorizerConfig; }
144 
148  inline bool RemoveAuthorizerConfigHasBeenSet() const { return m_removeAuthorizerConfigHasBeenSet; }
149 
153  inline void SetRemoveAuthorizerConfig(bool value) { m_removeAuthorizerConfigHasBeenSet = true; m_removeAuthorizerConfig = value; }
154 
158  inline UpdateDomainConfigurationRequest& WithRemoveAuthorizerConfig(bool value) { SetRemoveAuthorizerConfig(value); return *this;}
159 
160  private:
161 
162  Aws::String m_domainConfigurationName;
163  bool m_domainConfigurationNameHasBeenSet;
164 
165  AuthorizerConfig m_authorizerConfig;
166  bool m_authorizerConfigHasBeenSet;
167 
168  DomainConfigurationStatus m_domainConfigurationStatus;
169  bool m_domainConfigurationStatusHasBeenSet;
170 
171  bool m_removeAuthorizerConfig;
172  bool m_removeAuthorizerConfigHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace IoT
177 } // namespace Aws
Aws::IoT::Model::UpdateDomainConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithRemoveAuthorizerConfig
UpdateDomainConfigurationRequest & WithRemoveAuthorizerConfig(bool value)
Definition: UpdateDomainConfigurationRequest.h:158
Aws::IoT::Model::UpdateDomainConfigurationRequest
Definition: UpdateDomainConfigurationRequest.h:24
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithDomainConfigurationStatus
UpdateDomainConfigurationRequest & WithDomainConfigurationStatus(const DomainConfigurationStatus &value)
Definition: UpdateDomainConfigurationRequest.h:132
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(Aws::String &&value)
Definition: UpdateDomainConfigurationRequest.h:55
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithDomainConfigurationName
UpdateDomainConfigurationRequest & WithDomainConfigurationName(const char *value)
Definition: UpdateDomainConfigurationRequest.h:75
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithAuthorizerConfig
UpdateDomainConfigurationRequest & WithAuthorizerConfig(const AuthorizerConfig &value)
Definition: UpdateDomainConfigurationRequest.h:101
Aws::IoT::Model::UpdateDomainConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainConfigurationRequest.h:32
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithDomainConfigurationStatus
UpdateDomainConfigurationRequest & WithDomainConfigurationStatus(DomainConfigurationStatus &&value)
Definition: UpdateDomainConfigurationRequest.h:137
Aws::IoT::Model::UpdateDomainConfigurationRequest::AuthorizerConfigHasBeenSet
bool AuthorizerConfigHasBeenSet() const
Definition: UpdateDomainConfigurationRequest.h:86
Aws::IoT::Model::UpdateDomainConfigurationRequest::GetAuthorizerConfig
const AuthorizerConfig & GetAuthorizerConfig() const
Definition: UpdateDomainConfigurationRequest.h:81
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(const char *value)
Definition: UpdateDomainConfigurationRequest.h:60
Aws::IoT::Model::UpdateDomainConfigurationRequest::RemoveAuthorizerConfigHasBeenSet
bool RemoveAuthorizerConfigHasBeenSet() const
Definition: UpdateDomainConfigurationRequest.h:148
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetAuthorizerConfig
void SetAuthorizerConfig(AuthorizerConfig &&value)
Definition: UpdateDomainConfigurationRequest.h:96
Aws::IoT::Model::UpdateDomainConfigurationRequest::DomainConfigurationStatusHasBeenSet
bool DomainConfigurationStatusHasBeenSet() const
Definition: UpdateDomainConfigurationRequest.h:117
Aws::IoT::Model::UpdateDomainConfigurationRequest::GetDomainConfigurationName
const Aws::String & GetDomainConfigurationName() const
Definition: UpdateDomainConfigurationRequest.h:40
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetDomainConfigurationStatus
void SetDomainConfigurationStatus(const DomainConfigurationStatus &value)
Definition: UpdateDomainConfigurationRequest.h:122
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithAuthorizerConfig
UpdateDomainConfigurationRequest & WithAuthorizerConfig(AuthorizerConfig &&value)
Definition: UpdateDomainConfigurationRequest.h:106
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(const Aws::String &value)
Definition: UpdateDomainConfigurationRequest.h:50
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetRemoveAuthorizerConfig
void SetRemoveAuthorizerConfig(bool value)
Definition: UpdateDomainConfigurationRequest.h:153
Aws::IoT::Model::UpdateDomainConfigurationRequest::DomainConfigurationNameHasBeenSet
bool DomainConfigurationNameHasBeenSet() const
Definition: UpdateDomainConfigurationRequest.h:45
Aws::IoT::Model::UpdateDomainConfigurationRequest::GetDomainConfigurationStatus
const DomainConfigurationStatus & GetDomainConfigurationStatus() const
Definition: UpdateDomainConfigurationRequest.h:112
Aws::IoT::Model::DomainConfigurationStatus
DomainConfigurationStatus
Definition: DomainConfigurationStatus.h:17
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithDomainConfigurationName
UpdateDomainConfigurationRequest & WithDomainConfigurationName(const Aws::String &value)
Definition: UpdateDomainConfigurationRequest.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuthorizerConfig
Definition: AuthorizerConfig.h:33
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetDomainConfigurationStatus
void SetDomainConfigurationStatus(DomainConfigurationStatus &&value)
Definition: UpdateDomainConfigurationRequest.h:127
Aws::IoT::Model::UpdateDomainConfigurationRequest::GetRemoveAuthorizerConfig
bool GetRemoveAuthorizerConfig() const
Definition: UpdateDomainConfigurationRequest.h:143
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateDomainConfigurationRequest::UpdateDomainConfigurationRequest
UpdateDomainConfigurationRequest()
AuthorizerConfig.h
DomainConfigurationStatus.h
IoTRequest.h
Aws::IoT::Model::UpdateDomainConfigurationRequest::WithDomainConfigurationName
UpdateDomainConfigurationRequest & WithDomainConfigurationName(Aws::String &&value)
Definition: UpdateDomainConfigurationRequest.h:70
Aws::IoT::Model::UpdateDomainConfigurationRequest::SetAuthorizerConfig
void SetAuthorizerConfig(const AuthorizerConfig &value)
Definition: UpdateDomainConfigurationRequest.h:91
IoT_EXPORTS.h