AWS SDK for C++  1.9.153
AWS SDK for C++
UserSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
68  inline UserSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline UserSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline UserSummary& WithId(const char* value) { SetId(value); return *this;}
79 
80 
84  inline const Aws::String& GetArn() const{ return m_arn; }
85 
89  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
90 
94  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
95 
99  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
100 
104  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 
109  inline UserSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
110 
114  inline UserSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
115 
119  inline UserSummary& WithArn(const char* value) { SetArn(value); return *this;}
120 
121 
125  inline const Aws::String& GetUsername() const{ return m_username; }
126 
130  inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
131 
135  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
136 
140  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
141 
145  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
146 
150  inline UserSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
151 
155  inline UserSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
156 
160  inline UserSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
161 
162  private:
163 
164  Aws::String m_id;
165  bool m_idHasBeenSet;
166 
167  Aws::String m_arn;
168  bool m_arnHasBeenSet;
169 
170  Aws::String m_username;
171  bool m_usernameHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace Connect
176 } // namespace Aws
Aws::Connect::Model::UserSummary::operator=
UserSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UserSummary::SetArn
void SetArn(const Aws::String &value)
Definition: UserSummary.h:94
Aws::Connect::Model::UserSummary::WithId
UserSummary & WithId(const Aws::String &value)
Definition: UserSummary.h:68
Aws::Connect::Model::UserSummary::SetUsername
void SetUsername(Aws::String &&value)
Definition: UserSummary.h:140
Aws::Connect::Model::UserSummary::WithArn
UserSummary & WithArn(Aws::String &&value)
Definition: UserSummary.h:114
Aws::Connect::Model::UserSummary::GetUsername
const Aws::String & GetUsername() const
Definition: UserSummary.h:125
Aws::Connect::Model::UserSummary::WithUsername
UserSummary & WithUsername(const char *value)
Definition: UserSummary.h:160
Aws::Connect::Model::UserSummary::WithUsername
UserSummary & WithUsername(Aws::String &&value)
Definition: UserSummary.h:155
Aws::Connect::Model::UserSummary::SetId
void SetId(Aws::String &&value)
Definition: UserSummary.h:58
Aws::Connect::Model::UserSummary::WithArn
UserSummary & WithArn(const char *value)
Definition: UserSummary.h:119
Aws::Connect::Model::UserSummary::UsernameHasBeenSet
bool UsernameHasBeenSet() const
Definition: UserSummary.h:130
Aws::Connect::Model::UserSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: UserSummary.h:89
Aws::Connect::Model::UserSummary
Definition: UserSummary.h:32
Aws::Connect::Model::UserSummary::GetId
const Aws::String & GetId() const
Definition: UserSummary.h:43
Aws::Connect::Model::UserSummary::UserSummary
UserSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UserSummary::WithId
UserSummary & WithId(Aws::String &&value)
Definition: UserSummary.h:73
Aws::Connect::Model::UserSummary::GetArn
const Aws::String & GetArn() const
Definition: UserSummary.h:84
Aws::Connect::Model::UserSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UserSummary.h:48
Aws::Connect::Model::UserSummary::UserSummary
UserSummary()
Aws::Connect::Model::UserSummary::WithUsername
UserSummary & WithUsername(const Aws::String &value)
Definition: UserSummary.h:150
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Connect::Model::UserSummary::WithArn
UserSummary & WithArn(const Aws::String &value)
Definition: UserSummary.h:109
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::UserSummary::WithId
UserSummary & WithId(const char *value)
Definition: UserSummary.h:78
Aws::Connect::Model::UserSummary::SetUsername
void SetUsername(const Aws::String &value)
Definition: UserSummary.h:135
Aws::Connect::Model::UserSummary::SetArn
void SetArn(Aws::String &&value)
Definition: UserSummary.h:99
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UserSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::UserSummary::SetId
void SetId(const Aws::String &value)
Definition: UserSummary.h:53
Aws::Connect::Model::UserSummary::SetArn
void SetArn(const char *value)
Definition: UserSummary.h:104
Aws::Connect::Model::UserSummary::SetUsername
void SetUsername(const char *value)
Definition: UserSummary.h:145
Aws::Connect::Model::UserSummary::SetId
void SetId(const char *value)
Definition: UserSummary.h:63