AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateUserRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/License.h>
11#include <aws/chime/model/UserType.h>
12#include <aws/chime/model/AlexaForBusinessMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Chime
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CHIME_API UpdateUserRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateUser"; }
34
35 AWS_CHIME_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetAccountId() const { return m_accountId; }
43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
44 template<typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
46 template<typename AccountIdT = Aws::String>
47 UpdateUserRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetUserId() const { return m_userId; }
55 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
56 template<typename UserIdT = Aws::String>
57 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
58 template<typename UserIdT = Aws::String>
59 UpdateUserRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
61
63
67 inline License GetLicenseType() const { return m_licenseType; }
68 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
69 inline void SetLicenseType(License value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
70 inline UpdateUserRequest& WithLicenseType(License value) { SetLicenseType(value); return *this;}
72
74
77 inline UserType GetUserType() const { return m_userType; }
78 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
79 inline void SetUserType(UserType value) { m_userTypeHasBeenSet = true; m_userType = value; }
80 inline UpdateUserRequest& WithUserType(UserType value) { SetUserType(value); return *this;}
82
84
87 inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const { return m_alexaForBusinessMetadata; }
88 inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; }
89 template<typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
90 void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = std::forward<AlexaForBusinessMetadataT>(value); }
91 template<typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
92 UpdateUserRequest& WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) { SetAlexaForBusinessMetadata(std::forward<AlexaForBusinessMetadataT>(value)); return *this;}
94 private:
95
96 Aws::String m_accountId;
97 bool m_accountIdHasBeenSet = false;
98
99 Aws::String m_userId;
100 bool m_userIdHasBeenSet = false;
101
102 License m_licenseType{License::NOT_SET};
103 bool m_licenseTypeHasBeenSet = false;
104
105 UserType m_userType{UserType::NOT_SET};
106 bool m_userTypeHasBeenSet = false;
107
108 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
109 bool m_alexaForBusinessMetadataHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Chime
114} // 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