AWS SDK for C++  1.9.47
AWS SDK for C++
RoleAliasDescription.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRoleAlias() const{ return m_roleAlias; }
45 
49  inline bool RoleAliasHasBeenSet() const { return m_roleAliasHasBeenSet; }
50 
54  inline void SetRoleAlias(const Aws::String& value) { m_roleAliasHasBeenSet = true; m_roleAlias = value; }
55 
59  inline void SetRoleAlias(Aws::String&& value) { m_roleAliasHasBeenSet = true; m_roleAlias = std::move(value); }
60 
64  inline void SetRoleAlias(const char* value) { m_roleAliasHasBeenSet = true; m_roleAlias.assign(value); }
65 
69  inline RoleAliasDescription& WithRoleAlias(const Aws::String& value) { SetRoleAlias(value); return *this;}
70 
74  inline RoleAliasDescription& WithRoleAlias(Aws::String&& value) { SetRoleAlias(std::move(value)); return *this;}
75 
79  inline RoleAliasDescription& WithRoleAlias(const char* value) { SetRoleAlias(value); return *this;}
80 
81 
85  inline const Aws::String& GetRoleAliasArn() const{ return m_roleAliasArn; }
86 
90  inline bool RoleAliasArnHasBeenSet() const { return m_roleAliasArnHasBeenSet; }
91 
95  inline void SetRoleAliasArn(const Aws::String& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = value; }
96 
100  inline void SetRoleAliasArn(Aws::String&& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = std::move(value); }
101 
105  inline void SetRoleAliasArn(const char* value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn.assign(value); }
106 
110  inline RoleAliasDescription& WithRoleAliasArn(const Aws::String& value) { SetRoleAliasArn(value); return *this;}
111 
115  inline RoleAliasDescription& WithRoleAliasArn(Aws::String&& value) { SetRoleAliasArn(std::move(value)); return *this;}
116 
120  inline RoleAliasDescription& WithRoleAliasArn(const char* value) { SetRoleAliasArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
127 
131  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
132 
136  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
137 
141  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
142 
146  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
147 
151  inline RoleAliasDescription& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
152 
156  inline RoleAliasDescription& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
157 
161  inline RoleAliasDescription& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
162 
163 
167  inline const Aws::String& GetOwner() const{ return m_owner; }
168 
172  inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
173 
177  inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
178 
182  inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
183 
187  inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
188 
192  inline RoleAliasDescription& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
193 
197  inline RoleAliasDescription& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
198 
202  inline RoleAliasDescription& WithOwner(const char* value) { SetOwner(value); return *this;}
203 
204 
208  inline int GetCredentialDurationSeconds() const{ return m_credentialDurationSeconds; }
209 
213  inline bool CredentialDurationSecondsHasBeenSet() const { return m_credentialDurationSecondsHasBeenSet; }
214 
218  inline void SetCredentialDurationSeconds(int value) { m_credentialDurationSecondsHasBeenSet = true; m_credentialDurationSeconds = value; }
219 
223  inline RoleAliasDescription& WithCredentialDurationSeconds(int value) { SetCredentialDurationSeconds(value); return *this;}
224 
225 
229  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
230 
234  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
235 
239  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
240 
244  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
245 
249  inline RoleAliasDescription& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
250 
254  inline RoleAliasDescription& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
255 
256 
260  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
261 
265  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
266 
270  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
271 
275  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
276 
280  inline RoleAliasDescription& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
281 
285  inline RoleAliasDescription& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
286 
287  private:
288 
289  Aws::String m_roleAlias;
290  bool m_roleAliasHasBeenSet;
291 
292  Aws::String m_roleAliasArn;
293  bool m_roleAliasArnHasBeenSet;
294 
295  Aws::String m_roleArn;
296  bool m_roleArnHasBeenSet;
297 
298  Aws::String m_owner;
299  bool m_ownerHasBeenSet;
300 
301  int m_credentialDurationSeconds;
302  bool m_credentialDurationSecondsHasBeenSet;
303 
304  Aws::Utils::DateTime m_creationDate;
305  bool m_creationDateHasBeenSet;
306 
307  Aws::Utils::DateTime m_lastModifiedDate;
308  bool m_lastModifiedDateHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace IoT
313 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::RoleAliasDescription::GetOwner
const Aws::String & GetOwner() const
Definition: RoleAliasDescription.h:167
Aws::IoT::Model::RoleAliasDescription::SetRoleAliasArn
void SetRoleAliasArn(const Aws::String &value)
Definition: RoleAliasDescription.h:95
Aws::IoT::Model::RoleAliasDescription
Definition: RoleAliasDescription.h:33
Aws::IoT::Model::RoleAliasDescription::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: RoleAliasDescription.h:239
Aws::IoT::Model::RoleAliasDescription::RoleAliasDescription
RoleAliasDescription()
DateTime.h
Aws::IoT::Model::RoleAliasDescription::WithOwner
RoleAliasDescription & WithOwner(const char *value)
Definition: RoleAliasDescription.h:202
Aws::IoT::Model::RoleAliasDescription::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: RoleAliasDescription.h:131
Aws::IoT::Model::RoleAliasDescription::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: RoleAliasDescription.h:275
Aws::IoT::Model::RoleAliasDescription::SetRoleAlias
void SetRoleAlias(Aws::String &&value)
Definition: RoleAliasDescription.h:59
Aws::IoT::Model::RoleAliasDescription::WithOwner
RoleAliasDescription & WithOwner(Aws::String &&value)
Definition: RoleAliasDescription.h:197
Aws::IoT::Model::RoleAliasDescription::WithRoleAlias
RoleAliasDescription & WithRoleAlias(const char *value)
Definition: RoleAliasDescription.h:79
Aws::IoT::Model::RoleAliasDescription::SetCredentialDurationSeconds
void SetCredentialDurationSeconds(int value)
Definition: RoleAliasDescription.h:218
Aws::IoT::Model::RoleAliasDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::RoleAliasDescription::WithRoleAlias
RoleAliasDescription & WithRoleAlias(const Aws::String &value)
Definition: RoleAliasDescription.h:69
Aws::IoT::Model::RoleAliasDescription::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: RoleAliasDescription.h:270
Aws::IoT::Model::RoleAliasDescription::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: RoleAliasDescription.h:244
Aws::IoT::Model::RoleAliasDescription::WithCreationDate
RoleAliasDescription & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: RoleAliasDescription.h:254
Aws::IoT::Model::RoleAliasDescription::SetRoleArn
void SetRoleArn(const char *value)
Definition: RoleAliasDescription.h:146
Aws::IoT::Model::RoleAliasDescription::RoleAliasArnHasBeenSet
bool RoleAliasArnHasBeenSet() const
Definition: RoleAliasDescription.h:90
Aws::IoT::Model::RoleAliasDescription::GetRoleAliasArn
const Aws::String & GetRoleAliasArn() const
Definition: RoleAliasDescription.h:85
Aws::IoT::Model::RoleAliasDescription::OwnerHasBeenSet
bool OwnerHasBeenSet() const
Definition: RoleAliasDescription.h:172
Aws::IoT::Model::RoleAliasDescription::SetOwner
void SetOwner(Aws::String &&value)
Definition: RoleAliasDescription.h:182
Aws::IoT::Model::RoleAliasDescription::RoleAliasHasBeenSet
bool RoleAliasHasBeenSet() const
Definition: RoleAliasDescription.h:49
Aws::IoT::Model::RoleAliasDescription::WithOwner
RoleAliasDescription & WithOwner(const Aws::String &value)
Definition: RoleAliasDescription.h:192
Aws::IoT::Model::RoleAliasDescription::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: RoleAliasDescription.h:126
Aws::IoT::Model::RoleAliasDescription::operator=
RoleAliasDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::IoT::Model::RoleAliasDescription::WithRoleAliasArn
RoleAliasDescription & WithRoleAliasArn(const char *value)
Definition: RoleAliasDescription.h:120
AWSString.h
Aws::IoT::Model::RoleAliasDescription::WithCreationDate
RoleAliasDescription & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: RoleAliasDescription.h:249
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoT::Model::RoleAliasDescription::WithRoleArn
RoleAliasDescription & WithRoleArn(const char *value)
Definition: RoleAliasDescription.h:161
Aws::IoT::Model::RoleAliasDescription::SetRoleAliasArn
void SetRoleAliasArn(Aws::String &&value)
Definition: RoleAliasDescription.h:100
Aws::IoT::Model::RoleAliasDescription::SetOwner
void SetOwner(const char *value)
Definition: RoleAliasDescription.h:187
Aws::IoT::Model::RoleAliasDescription::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: RoleAliasDescription.h:265
Aws::IoT::Model::RoleAliasDescription::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: RoleAliasDescription.h:260
Aws::IoT::Model::RoleAliasDescription::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: RoleAliasDescription.h:136
Aws::IoT::Model::RoleAliasDescription::GetCredentialDurationSeconds
int GetCredentialDurationSeconds() const
Definition: RoleAliasDescription.h:208
Aws::IoT::Model::RoleAliasDescription::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: RoleAliasDescription.h:234
Aws::IoT::Model::RoleAliasDescription::WithRoleArn
RoleAliasDescription & WithRoleArn(const Aws::String &value)
Definition: RoleAliasDescription.h:151
Aws::IoT::Model::RoleAliasDescription::SetRoleAlias
void SetRoleAlias(const char *value)
Definition: RoleAliasDescription.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::RoleAliasDescription::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: RoleAliasDescription.h:141
Aws::IoT::Model::RoleAliasDescription::WithRoleAliasArn
RoleAliasDescription & WithRoleAliasArn(const Aws::String &value)
Definition: RoleAliasDescription.h:110
Aws::IoT::Model::RoleAliasDescription::SetRoleAliasArn
void SetRoleAliasArn(const char *value)
Definition: RoleAliasDescription.h:105
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::RoleAliasDescription::SetOwner
void SetOwner(const Aws::String &value)
Definition: RoleAliasDescription.h:177
Aws::IoT::Model::RoleAliasDescription::WithRoleArn
RoleAliasDescription & WithRoleArn(Aws::String &&value)
Definition: RoleAliasDescription.h:156
Aws::IoT::Model::RoleAliasDescription::WithLastModifiedDate
RoleAliasDescription & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: RoleAliasDescription.h:285
Aws::IoT::Model::RoleAliasDescription::WithLastModifiedDate
RoleAliasDescription & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: RoleAliasDescription.h:280
Aws::IoT::Model::RoleAliasDescription::WithRoleAliasArn
RoleAliasDescription & WithRoleAliasArn(Aws::String &&value)
Definition: RoleAliasDescription.h:115
Aws::IoT::Model::RoleAliasDescription::CredentialDurationSecondsHasBeenSet
bool CredentialDurationSecondsHasBeenSet() const
Definition: RoleAliasDescription.h:213
Aws::IoT::Model::RoleAliasDescription::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: RoleAliasDescription.h:229
Aws::IoT::Model::RoleAliasDescription::RoleAliasDescription
RoleAliasDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::RoleAliasDescription::WithRoleAlias
RoleAliasDescription & WithRoleAlias(Aws::String &&value)
Definition: RoleAliasDescription.h:74
Aws::IoT::Model::RoleAliasDescription::SetRoleAlias
void SetRoleAlias(const Aws::String &value)
Definition: RoleAliasDescription.h:54
IoT_EXPORTS.h
Aws::IoT::Model::RoleAliasDescription::GetRoleAlias
const Aws::String & GetRoleAlias() const
Definition: RoleAliasDescription.h:44
Aws::IoT::Model::RoleAliasDescription::WithCredentialDurationSeconds
RoleAliasDescription & WithCredentialDurationSeconds(int value)
Definition: RoleAliasDescription.h:223