AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateNetworkProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AlexaForBusiness
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateNetworkProfile"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
42 
46  inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
47 
51  inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
52 
56  inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
57 
61  inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
62 
66  inline UpdateNetworkProfileRequest& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
67 
71  inline UpdateNetworkProfileRequest& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
72 
76  inline UpdateNetworkProfileRequest& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
77 
78 
82  inline const Aws::String& GetNetworkProfileName() const{ return m_networkProfileName; }
83 
87  inline bool NetworkProfileNameHasBeenSet() const { return m_networkProfileNameHasBeenSet; }
88 
92  inline void SetNetworkProfileName(const Aws::String& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = value; }
93 
97  inline void SetNetworkProfileName(Aws::String&& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = std::move(value); }
98 
102  inline void SetNetworkProfileName(const char* value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName.assign(value); }
103 
107  inline UpdateNetworkProfileRequest& WithNetworkProfileName(const Aws::String& value) { SetNetworkProfileName(value); return *this;}
108 
112  inline UpdateNetworkProfileRequest& WithNetworkProfileName(Aws::String&& value) { SetNetworkProfileName(std::move(value)); return *this;}
113 
117  inline UpdateNetworkProfileRequest& WithNetworkProfileName(const char* value) { SetNetworkProfileName(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline UpdateNetworkProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline UpdateNetworkProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline UpdateNetworkProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160 
164  inline const Aws::String& GetCurrentPassword() const{ return m_currentPassword; }
165 
169  inline bool CurrentPasswordHasBeenSet() const { return m_currentPasswordHasBeenSet; }
170 
174  inline void SetCurrentPassword(const Aws::String& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = value; }
175 
179  inline void SetCurrentPassword(Aws::String&& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = std::move(value); }
180 
184  inline void SetCurrentPassword(const char* value) { m_currentPasswordHasBeenSet = true; m_currentPassword.assign(value); }
185 
189  inline UpdateNetworkProfileRequest& WithCurrentPassword(const Aws::String& value) { SetCurrentPassword(value); return *this;}
190 
194  inline UpdateNetworkProfileRequest& WithCurrentPassword(Aws::String&& value) { SetCurrentPassword(std::move(value)); return *this;}
195 
199  inline UpdateNetworkProfileRequest& WithCurrentPassword(const char* value) { SetCurrentPassword(value); return *this;}
200 
201 
207  inline const Aws::String& GetNextPassword() const{ return m_nextPassword; }
208 
214  inline bool NextPasswordHasBeenSet() const { return m_nextPasswordHasBeenSet; }
215 
221  inline void SetNextPassword(const Aws::String& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = value; }
222 
228  inline void SetNextPassword(Aws::String&& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = std::move(value); }
229 
235  inline void SetNextPassword(const char* value) { m_nextPasswordHasBeenSet = true; m_nextPassword.assign(value); }
236 
242  inline UpdateNetworkProfileRequest& WithNextPassword(const Aws::String& value) { SetNextPassword(value); return *this;}
243 
249  inline UpdateNetworkProfileRequest& WithNextPassword(Aws::String&& value) { SetNextPassword(std::move(value)); return *this;}
250 
256  inline UpdateNetworkProfileRequest& WithNextPassword(const char* value) { SetNextPassword(value); return *this;}
257 
258 
263  inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
264 
269  inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
270 
275  inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
276 
281  inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
282 
287  inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
288 
293  inline UpdateNetworkProfileRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;}
294 
299  inline UpdateNetworkProfileRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;}
300 
305  inline UpdateNetworkProfileRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
306 
307 
313  inline const Aws::Vector<Aws::String>& GetTrustAnchors() const{ return m_trustAnchors; }
314 
320  inline bool TrustAnchorsHasBeenSet() const { return m_trustAnchorsHasBeenSet; }
321 
327  inline void SetTrustAnchors(const Aws::Vector<Aws::String>& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = value; }
328 
334  inline void SetTrustAnchors(Aws::Vector<Aws::String>&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = std::move(value); }
335 
341  inline UpdateNetworkProfileRequest& WithTrustAnchors(const Aws::Vector<Aws::String>& value) { SetTrustAnchors(value); return *this;}
342 
348  inline UpdateNetworkProfileRequest& WithTrustAnchors(Aws::Vector<Aws::String>&& value) { SetTrustAnchors(std::move(value)); return *this;}
349 
355  inline UpdateNetworkProfileRequest& AddTrustAnchors(const Aws::String& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; }
356 
362  inline UpdateNetworkProfileRequest& AddTrustAnchors(Aws::String&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(std::move(value)); return *this; }
363 
369  inline UpdateNetworkProfileRequest& AddTrustAnchors(const char* value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; }
370 
371  private:
372 
373  Aws::String m_networkProfileArn;
374  bool m_networkProfileArnHasBeenSet;
375 
376  Aws::String m_networkProfileName;
377  bool m_networkProfileNameHasBeenSet;
378 
379  Aws::String m_description;
380  bool m_descriptionHasBeenSet;
381 
382  Aws::String m_currentPassword;
383  bool m_currentPasswordHasBeenSet;
384 
385  Aws::String m_nextPassword;
386  bool m_nextPasswordHasBeenSet;
387 
388  Aws::String m_certificateAuthorityArn;
389  bool m_certificateAuthorityArnHasBeenSet;
390 
391  Aws::Vector<Aws::String> m_trustAnchors;
392  bool m_trustAnchorsHasBeenSet;
393  };
394 
395 } // namespace Model
396 } // namespace AlexaForBusiness
397 } // namespace Aws
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetNextPassword
const Aws::String & GetNextPassword() const
Definition: UpdateNetworkProfileRequest.h:207
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::AddTrustAnchors
UpdateNetworkProfileRequest & AddTrustAnchors(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:355
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateNetworkProfileRequest.h:123
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetNetworkProfileArn
const Aws::String & GetNetworkProfileArn() const
Definition: UpdateNetworkProfileRequest.h:41
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileName
void SetNetworkProfileName(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:92
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::CertificateAuthorityArnHasBeenSet
bool CertificateAuthorityArnHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:269
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetCurrentPassword
const Aws::String & GetCurrentPassword() const
Definition: UpdateNetworkProfileRequest.h:164
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::CurrentPasswordHasBeenSet
bool CurrentPasswordHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:169
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCurrentPassword
UpdateNetworkProfileRequest & WithCurrentPassword(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:194
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::UpdateNetworkProfileRequest
UpdateNetworkProfileRequest()
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileArn
void SetNetworkProfileArn(const char *value)
Definition: UpdateNetworkProfileRequest.h:61
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileName
UpdateNetworkProfileRequest & WithNetworkProfileName(const char *value)
Definition: UpdateNetworkProfileRequest.h:117
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCertificateAuthorityArn
void SetCertificateAuthorityArn(const char *value)
Definition: UpdateNetworkProfileRequest.h:287
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNextPassword
void SetNextPassword(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:221
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNextPassword
void SetNextPassword(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:228
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileName
void SetNetworkProfileName(const char *value)
Definition: UpdateNetworkProfileRequest.h:102
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetTrustAnchors
void SetTrustAnchors(Aws::Vector< Aws::String > &&value)
Definition: UpdateNetworkProfileRequest.h:334
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCurrentPassword
void SetCurrentPassword(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:179
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileArn
UpdateNetworkProfileRequest & WithNetworkProfileArn(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:71
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNextPassword
UpdateNetworkProfileRequest & WithNextPassword(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:249
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCurrentPassword
UpdateNetworkProfileRequest & WithCurrentPassword(const char *value)
Definition: UpdateNetworkProfileRequest.h:199
AWSVector.h
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNextPassword
UpdateNetworkProfileRequest & WithNextPassword(const char *value)
Definition: UpdateNetworkProfileRequest.h:256
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNextPassword
UpdateNetworkProfileRequest & WithNextPassword(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:242
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetTrustAnchors
void SetTrustAnchors(const Aws::Vector< Aws::String > &value)
Definition: UpdateNetworkProfileRequest.h:327
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::AddTrustAnchors
UpdateNetworkProfileRequest & AddTrustAnchors(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:362
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::NextPasswordHasBeenSet
bool NextPasswordHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:214
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::AddTrustAnchors
UpdateNetworkProfileRequest & AddTrustAnchors(const char *value)
Definition: UpdateNetworkProfileRequest.h:369
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCertificateAuthorityArn
UpdateNetworkProfileRequest & WithCertificateAuthorityArn(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:299
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:128
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetNetworkProfileName
const Aws::String & GetNetworkProfileName() const
Definition: UpdateNetworkProfileRequest.h:82
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithDescription
UpdateNetworkProfileRequest & WithDescription(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:148
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileArn
void SetNetworkProfileArn(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:56
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCurrentPassword
UpdateNetworkProfileRequest & WithCurrentPassword(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:189
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::NetworkProfileArnHasBeenSet
bool NetworkProfileArnHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:46
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCertificateAuthorityArn
void SetCertificateAuthorityArn(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:281
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileArn
void SetNetworkProfileArn(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:51
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:138
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithTrustAnchors
UpdateNetworkProfileRequest & WithTrustAnchors(const Aws::Vector< Aws::String > &value)
Definition: UpdateNetworkProfileRequest.h:341
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNetworkProfileName
void SetNetworkProfileName(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:97
AWSString.h
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithDescription
UpdateNetworkProfileRequest & WithDescription(const char *value)
Definition: UpdateNetworkProfileRequest.h:158
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetNextPassword
void SetNextPassword(const char *value)
Definition: UpdateNetworkProfileRequest.h:235
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCurrentPassword
void SetCurrentPassword(const char *value)
Definition: UpdateNetworkProfileRequest.h:184
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:133
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCurrentPassword
void SetCurrentPassword(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:174
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileArn
UpdateNetworkProfileRequest & WithNetworkProfileArn(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:66
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithDescription
UpdateNetworkProfileRequest & WithDescription(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:153
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileArn
UpdateNetworkProfileRequest & WithNetworkProfileArn(const char *value)
Definition: UpdateNetworkProfileRequest.h:76
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetCertificateAuthorityArn
const Aws::String & GetCertificateAuthorityArn() const
Definition: UpdateNetworkProfileRequest.h:263
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCertificateAuthorityArn
UpdateNetworkProfileRequest & WithCertificateAuthorityArn(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:293
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::TrustAnchorsHasBeenSet
bool TrustAnchorsHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:320
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetTrustAnchors
const Aws::Vector< Aws::String > & GetTrustAnchors() const
Definition: UpdateNetworkProfileRequest.h:313
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::NetworkProfileNameHasBeenSet
bool NetworkProfileNameHasBeenSet() const
Definition: UpdateNetworkProfileRequest.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithTrustAnchors
UpdateNetworkProfileRequest & WithTrustAnchors(Aws::Vector< Aws::String > &&value)
Definition: UpdateNetworkProfileRequest.h:348
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithCertificateAuthorityArn
UpdateNetworkProfileRequest & WithCertificateAuthorityArn(const char *value)
Definition: UpdateNetworkProfileRequest.h:305
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileName
UpdateNetworkProfileRequest & WithNetworkProfileName(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:107
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest
Definition: UpdateNetworkProfileRequest.h:23
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetCertificateAuthorityArn
void SetCertificateAuthorityArn(const Aws::String &value)
Definition: UpdateNetworkProfileRequest.h:275
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::WithNetworkProfileName
UpdateNetworkProfileRequest & WithNetworkProfileName(Aws::String &&value)
Definition: UpdateNetworkProfileRequest.h:112
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateNetworkProfileRequest.h:31
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::UpdateNetworkProfileRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateNetworkProfileRequest.h:143