AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserRequestItem.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/License.h>
10#include <aws/chime/model/UserType.h>
11#include <aws/chime/model/AlexaForBusinessMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Chime
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CHIME_API UpdateUserRequestItem();
41 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetUserId() const{ return m_userId; }
49 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
50 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
51 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
52 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
53 inline UpdateUserRequestItem& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
54 inline UpdateUserRequestItem& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
55 inline UpdateUserRequestItem& WithUserId(const char* value) { SetUserId(value); return *this;}
57
59
62 inline const License& GetLicenseType() const{ return m_licenseType; }
63 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
64 inline void SetLicenseType(const License& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
65 inline void SetLicenseType(License&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
66 inline UpdateUserRequestItem& WithLicenseType(const License& value) { SetLicenseType(value); return *this;}
67 inline UpdateUserRequestItem& WithLicenseType(License&& value) { SetLicenseType(std::move(value)); return *this;}
69
71
74 inline const UserType& GetUserType() const{ return m_userType; }
75 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
76 inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
77 inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
78 inline UpdateUserRequestItem& WithUserType(const UserType& value) { SetUserType(value); return *this;}
79 inline UpdateUserRequestItem& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;}
81
83
86 inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const{ return m_alexaForBusinessMetadata; }
87 inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; }
88 inline void SetAlexaForBusinessMetadata(const AlexaForBusinessMetadata& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = value; }
89 inline void SetAlexaForBusinessMetadata(AlexaForBusinessMetadata&& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = std::move(value); }
93 private:
94
95 Aws::String m_userId;
96 bool m_userIdHasBeenSet = false;
97
98 License m_licenseType;
99 bool m_licenseTypeHasBeenSet = false;
100
101 UserType m_userType;
102 bool m_userTypeHasBeenSet = false;
103
104 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
105 bool m_alexaForBusinessMetadataHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Chime
110} // namespace Aws
void SetAlexaForBusinessMetadata(const AlexaForBusinessMetadata &value)
UpdateUserRequestItem & WithAlexaForBusinessMetadata(const AlexaForBusinessMetadata &value)
const AlexaForBusinessMetadata & GetAlexaForBusinessMetadata() const
void SetAlexaForBusinessMetadata(AlexaForBusinessMetadata &&value)
UpdateUserRequestItem & WithUserType(UserType &&value)
AWS_CHIME_API UpdateUserRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdateUserRequestItem & WithUserId(const char *value)
UpdateUserRequestItem & WithLicenseType(License &&value)
UpdateUserRequestItem & WithUserId(Aws::String &&value)
UpdateUserRequestItem & WithUserType(const UserType &value)
UpdateUserRequestItem & WithAlexaForBusinessMetadata(AlexaForBusinessMetadata &&value)
UpdateUserRequestItem & WithLicenseType(const License &value)
AWS_CHIME_API UpdateUserRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateUserRequestItem & WithUserId(const Aws::String &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue