AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateUserRequest.h
1
6#pragma once
7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/chime/model/AlexaForBusinessMetadata.h>
10#include <aws/chime/model/License.h>
11#include <aws/chime/model/UserType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Chime {
18namespace Model {
19
23 public:
24 AWS_CHIME_API UpdateUserRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateUser"; }
31
32 AWS_CHIME_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
40 template <typename AccountIdT = Aws::String>
41 void SetAccountId(AccountIdT&& value) {
42 m_accountIdHasBeenSet = true;
43 m_accountId = std::forward<AccountIdT>(value);
44 }
45 template <typename AccountIdT = Aws::String>
46 UpdateUserRequest& WithAccountId(AccountIdT&& value) {
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUserId() const { return m_userId; }
57 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
58 template <typename UserIdT = Aws::String>
59 void SetUserId(UserIdT&& value) {
60 m_userIdHasBeenSet = true;
61 m_userId = std::forward<UserIdT>(value);
62 }
63 template <typename UserIdT = Aws::String>
64 UpdateUserRequest& WithUserId(UserIdT&& value) {
65 SetUserId(std::forward<UserIdT>(value));
66 return *this;
67 }
69
71
75 inline License GetLicenseType() const { return m_licenseType; }
76 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
77 inline void SetLicenseType(License value) {
78 m_licenseTypeHasBeenSet = true;
79 m_licenseType = value;
80 }
82 SetLicenseType(value);
83 return *this;
84 }
86
88
91 inline UserType GetUserType() const { return m_userType; }
92 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
93 inline void SetUserType(UserType value) {
94 m_userTypeHasBeenSet = true;
95 m_userType = value;
96 }
98 SetUserType(value);
99 return *this;
100 }
102
104
107 inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const { return m_alexaForBusinessMetadata; }
108 inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; }
109 template <typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
110 void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) {
111 m_alexaForBusinessMetadataHasBeenSet = true;
112 m_alexaForBusinessMetadata = std::forward<AlexaForBusinessMetadataT>(value);
113 }
114 template <typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
115 UpdateUserRequest& WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) {
116 SetAlexaForBusinessMetadata(std::forward<AlexaForBusinessMetadataT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_accountId;
122
123 Aws::String m_userId;
124
125 License m_licenseType{License::NOT_SET};
126
127 UserType m_userType{UserType::NOT_SET};
128
129 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
130 bool m_accountIdHasBeenSet = false;
131 bool m_userIdHasBeenSet = false;
132 bool m_licenseTypeHasBeenSet = false;
133 bool m_userTypeHasBeenSet = false;
134 bool m_alexaForBusinessMetadataHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Chime
139} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUserId() const
UpdateUserRequest & WithLicenseType(License value)
const Aws::String & GetAccountId() const
UpdateUserRequest & WithUserType(UserType value)
const AlexaForBusinessMetadata & GetAlexaForBusinessMetadata() const
UpdateUserRequest & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
AWS_CHIME_API UpdateUserRequest()=default
void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
UpdateUserRequest & WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
UpdateUserRequest & WithUserId(UserIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String