AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
45 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
46 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
47 inline UpdateUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
48 inline UpdateUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
49 inline UpdateUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
51
53
56 inline const Aws::String& GetUserId() const{ return m_userId; }
57 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
58 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
59 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
60 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
61 inline UpdateUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
62 inline UpdateUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
63 inline UpdateUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
65
67
71 inline const License& GetLicenseType() const{ return m_licenseType; }
72 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
73 inline void SetLicenseType(const License& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
74 inline void SetLicenseType(License&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
75 inline UpdateUserRequest& WithLicenseType(const License& value) { SetLicenseType(value); return *this;}
76 inline UpdateUserRequest& WithLicenseType(License&& value) { SetLicenseType(std::move(value)); return *this;}
78
80
83 inline const UserType& GetUserType() const{ return m_userType; }
84 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
85 inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
86 inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
87 inline UpdateUserRequest& WithUserType(const UserType& value) { SetUserType(value); return *this;}
88 inline UpdateUserRequest& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;}
90
92
95 inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const{ return m_alexaForBusinessMetadata; }
96 inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; }
97 inline void SetAlexaForBusinessMetadata(const AlexaForBusinessMetadata& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = value; }
98 inline void SetAlexaForBusinessMetadata(AlexaForBusinessMetadata&& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = std::move(value); }
102 private:
103
104 Aws::String m_accountId;
105 bool m_accountIdHasBeenSet = false;
106
107 Aws::String m_userId;
108 bool m_userIdHasBeenSet = false;
109
110 License m_licenseType;
111 bool m_licenseTypeHasBeenSet = false;
112
113 UserType m_userType;
114 bool m_userTypeHasBeenSet = false;
115
116 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
117 bool m_alexaForBusinessMetadataHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Chime
122} // namespace Aws
void SetAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
UpdateUserRequest & WithAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUserId() const
UpdateUserRequest & WithAlexaForBusinessMetadata(AlexaForBusinessMetadata &&value)
UpdateUserRequest & WithAlexaForBusinessMetadata(const AlexaForBusinessMetadata &value)
const Aws::String & GetAccountId() const
void SetAlexaForBusinessMetadata(const AlexaForBusinessMetadata &value)
UpdateUserRequest & WithAccountId(const Aws::String &value)
UpdateUserRequest & WithAccountId(const char *value)
void SetUserId(const Aws::String &value)
UpdateUserRequest & WithUserId(const char *value)
const AlexaForBusinessMetadata & GetAlexaForBusinessMetadata() const
void SetAlexaForBusinessMetadata(AlexaForBusinessMetadata &&value)
UpdateUserRequest & WithUserId(const Aws::String &value)
AWS_CHIME_API Aws::String SerializePayload() const override
UpdateUserRequest & WithLicenseType(License &&value)
UpdateUserRequest & WithUserType(UserType &&value)
UpdateUserRequest & WithUserId(Aws::String &&value)
void SetUserType(const UserType &value)
void SetLicenseType(const License &value)
UpdateUserRequest & WithLicenseType(const License &value)
void SetUserId(Aws::String &&value)
UpdateUserRequest & WithUserType(const UserType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String