AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateUserRequestItem.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/AlexaForBusinessMetadata.h>
9#include <aws/chime/model/License.h>
10#include <aws/chime/model/UserType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Chime {
23namespace Model {
24
32 public:
33 AWS_CHIME_API UpdateUserRequestItem() = default;
36 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetUserId() const { return m_userId; }
43 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
44 template <typename UserIdT = Aws::String>
45 void SetUserId(UserIdT&& value) {
46 m_userIdHasBeenSet = true;
47 m_userId = std::forward<UserIdT>(value);
48 }
49 template <typename UserIdT = Aws::String>
51 SetUserId(std::forward<UserIdT>(value));
52 return *this;
53 }
55
57
60 inline License GetLicenseType() const { return m_licenseType; }
61 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
62 inline void SetLicenseType(License value) {
63 m_licenseTypeHasBeenSet = true;
64 m_licenseType = value;
65 }
67 SetLicenseType(value);
68 return *this;
69 }
71
73
76 inline UserType GetUserType() const { return m_userType; }
77 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
78 inline void SetUserType(UserType value) {
79 m_userTypeHasBeenSet = true;
80 m_userType = value;
81 }
83 SetUserType(value);
84 return *this;
85 }
87
89
92 inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const { return m_alexaForBusinessMetadata; }
93 inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; }
94 template <typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
95 void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) {
96 m_alexaForBusinessMetadataHasBeenSet = true;
97 m_alexaForBusinessMetadata = std::forward<AlexaForBusinessMetadataT>(value);
98 }
99 template <typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
100 UpdateUserRequestItem& WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT&& value) {
101 SetAlexaForBusinessMetadata(std::forward<AlexaForBusinessMetadataT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_userId;
107
108 License m_licenseType{License::NOT_SET};
109
110 UserType m_userType{UserType::NOT_SET};
111
112 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
113 bool m_userIdHasBeenSet = false;
114 bool m_licenseTypeHasBeenSet = false;
115 bool m_userTypeHasBeenSet = false;
116 bool m_alexaForBusinessMetadataHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Chime
121} // namespace Aws
const AlexaForBusinessMetadata & GetAlexaForBusinessMetadata() const
AWS_CHIME_API UpdateUserRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdateUserRequestItem & WithLicenseType(License value)
void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
AWS_CHIME_API UpdateUserRequestItem()=default
UpdateUserRequestItem & WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
UpdateUserRequestItem & WithUserId(UserIdT &&value)
AWS_CHIME_API UpdateUserRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateUserRequestItem & WithUserType(UserType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue