AWS SDK for C++  1.9.129
AWS SDK for C++
ResourceIdentifier.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDeviceCertificateId() const{ return m_deviceCertificateId; }
46 
50  inline bool DeviceCertificateIdHasBeenSet() const { return m_deviceCertificateIdHasBeenSet; }
51 
55  inline void SetDeviceCertificateId(const Aws::String& value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId = value; }
56 
60  inline void SetDeviceCertificateId(Aws::String&& value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId = std::move(value); }
61 
65  inline void SetDeviceCertificateId(const char* value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId.assign(value); }
66 
70  inline ResourceIdentifier& WithDeviceCertificateId(const Aws::String& value) { SetDeviceCertificateId(value); return *this;}
71 
75  inline ResourceIdentifier& WithDeviceCertificateId(Aws::String&& value) { SetDeviceCertificateId(std::move(value)); return *this;}
76 
80  inline ResourceIdentifier& WithDeviceCertificateId(const char* value) { SetDeviceCertificateId(value); return *this;}
81 
82 
86  inline const Aws::String& GetCaCertificateId() const{ return m_caCertificateId; }
87 
91  inline bool CaCertificateIdHasBeenSet() const { return m_caCertificateIdHasBeenSet; }
92 
96  inline void SetCaCertificateId(const Aws::String& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = value; }
97 
101  inline void SetCaCertificateId(Aws::String&& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = std::move(value); }
102 
106  inline void SetCaCertificateId(const char* value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId.assign(value); }
107 
111  inline ResourceIdentifier& WithCaCertificateId(const Aws::String& value) { SetCaCertificateId(value); return *this;}
112 
116  inline ResourceIdentifier& WithCaCertificateId(Aws::String&& value) { SetCaCertificateId(std::move(value)); return *this;}
117 
121  inline ResourceIdentifier& WithCaCertificateId(const char* value) { SetCaCertificateId(value); return *this;}
122 
123 
127  inline const Aws::String& GetCognitoIdentityPoolId() const{ return m_cognitoIdentityPoolId; }
128 
132  inline bool CognitoIdentityPoolIdHasBeenSet() const { return m_cognitoIdentityPoolIdHasBeenSet; }
133 
137  inline void SetCognitoIdentityPoolId(const Aws::String& value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId = value; }
138 
142  inline void SetCognitoIdentityPoolId(Aws::String&& value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId = std::move(value); }
143 
147  inline void SetCognitoIdentityPoolId(const char* value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId.assign(value); }
148 
152  inline ResourceIdentifier& WithCognitoIdentityPoolId(const Aws::String& value) { SetCognitoIdentityPoolId(value); return *this;}
153 
157  inline ResourceIdentifier& WithCognitoIdentityPoolId(Aws::String&& value) { SetCognitoIdentityPoolId(std::move(value)); return *this;}
158 
162  inline ResourceIdentifier& WithCognitoIdentityPoolId(const char* value) { SetCognitoIdentityPoolId(value); return *this;}
163 
164 
168  inline const Aws::String& GetClientId() const{ return m_clientId; }
169 
173  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
174 
178  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
179 
183  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
184 
188  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
189 
193  inline ResourceIdentifier& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
194 
198  inline ResourceIdentifier& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
199 
203  inline ResourceIdentifier& WithClientId(const char* value) { SetClientId(value); return *this;}
204 
205 
209  inline const PolicyVersionIdentifier& GetPolicyVersionIdentifier() const{ return m_policyVersionIdentifier; }
210 
214  inline bool PolicyVersionIdentifierHasBeenSet() const { return m_policyVersionIdentifierHasBeenSet; }
215 
219  inline void SetPolicyVersionIdentifier(const PolicyVersionIdentifier& value) { m_policyVersionIdentifierHasBeenSet = true; m_policyVersionIdentifier = value; }
220 
224  inline void SetPolicyVersionIdentifier(PolicyVersionIdentifier&& value) { m_policyVersionIdentifierHasBeenSet = true; m_policyVersionIdentifier = std::move(value); }
225 
229  inline ResourceIdentifier& WithPolicyVersionIdentifier(const PolicyVersionIdentifier& value) { SetPolicyVersionIdentifier(value); return *this;}
230 
234  inline ResourceIdentifier& WithPolicyVersionIdentifier(PolicyVersionIdentifier&& value) { SetPolicyVersionIdentifier(std::move(value)); return *this;}
235 
236 
240  inline const Aws::String& GetAccount() const{ return m_account; }
241 
245  inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
246 
250  inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
251 
255  inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
256 
260  inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
261 
265  inline ResourceIdentifier& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
266 
270  inline ResourceIdentifier& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
271 
275  inline ResourceIdentifier& WithAccount(const char* value) { SetAccount(value); return *this;}
276 
277 
281  inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
282 
286  inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
287 
291  inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
292 
296  inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
297 
301  inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
302 
306  inline ResourceIdentifier& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
307 
311  inline ResourceIdentifier& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
312 
316  inline ResourceIdentifier& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
317 
318 
322  inline const Aws::String& GetRoleAliasArn() const{ return m_roleAliasArn; }
323 
327  inline bool RoleAliasArnHasBeenSet() const { return m_roleAliasArnHasBeenSet; }
328 
332  inline void SetRoleAliasArn(const Aws::String& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = value; }
333 
337  inline void SetRoleAliasArn(Aws::String&& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = std::move(value); }
338 
342  inline void SetRoleAliasArn(const char* value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn.assign(value); }
343 
347  inline ResourceIdentifier& WithRoleAliasArn(const Aws::String& value) { SetRoleAliasArn(value); return *this;}
348 
352  inline ResourceIdentifier& WithRoleAliasArn(Aws::String&& value) { SetRoleAliasArn(std::move(value)); return *this;}
353 
357  inline ResourceIdentifier& WithRoleAliasArn(const char* value) { SetRoleAliasArn(value); return *this;}
358 
359  private:
360 
361  Aws::String m_deviceCertificateId;
362  bool m_deviceCertificateIdHasBeenSet;
363 
364  Aws::String m_caCertificateId;
365  bool m_caCertificateIdHasBeenSet;
366 
367  Aws::String m_cognitoIdentityPoolId;
368  bool m_cognitoIdentityPoolIdHasBeenSet;
369 
370  Aws::String m_clientId;
371  bool m_clientIdHasBeenSet;
372 
373  PolicyVersionIdentifier m_policyVersionIdentifier;
374  bool m_policyVersionIdentifierHasBeenSet;
375 
376  Aws::String m_account;
377  bool m_accountHasBeenSet;
378 
379  Aws::String m_iamRoleArn;
380  bool m_iamRoleArnHasBeenSet;
381 
382  Aws::String m_roleAliasArn;
383  bool m_roleAliasArnHasBeenSet;
384  };
385 
386 } // namespace Model
387 } // namespace IoT
388 } // namespace Aws
Aws::IoT::Model::ResourceIdentifier::SetAccount
void SetAccount(Aws::String &&value)
Definition: ResourceIdentifier.h:255
Aws::IoT::Model::ResourceIdentifier::IamRoleArnHasBeenSet
bool IamRoleArnHasBeenSet() const
Definition: ResourceIdentifier.h:286
Aws::IoT::Model::ResourceIdentifier::SetClientId
void SetClientId(const char *value)
Definition: ResourceIdentifier.h:188
Aws::IoT::Model::ResourceIdentifier::SetAccount
void SetAccount(const Aws::String &value)
Definition: ResourceIdentifier.h:250
Aws::IoT::Model::ResourceIdentifier::SetRoleAliasArn
void SetRoleAliasArn(const Aws::String &value)
Definition: ResourceIdentifier.h:332
Aws::IoT::Model::ResourceIdentifier::SetCaCertificateId
void SetCaCertificateId(Aws::String &&value)
Definition: ResourceIdentifier.h:101
Aws::IoT::Model::ResourceIdentifier::WithRoleAliasArn
ResourceIdentifier & WithRoleAliasArn(Aws::String &&value)
Definition: ResourceIdentifier.h:352
Aws::IoT::Model::ResourceIdentifier::WithAccount
ResourceIdentifier & WithAccount(const Aws::String &value)
Definition: ResourceIdentifier.h:265
Aws::IoT::Model::ResourceIdentifier::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: ResourceIdentifier.h:173
Aws::IoT::Model::ResourceIdentifier::SetDeviceCertificateId
void SetDeviceCertificateId(const Aws::String &value)
Definition: ResourceIdentifier.h:55
Aws::IoT::Model::ResourceIdentifier::WithIamRoleArn
ResourceIdentifier & WithIamRoleArn(Aws::String &&value)
Definition: ResourceIdentifier.h:311
Aws::IoT::Model::ResourceIdentifier::SetCognitoIdentityPoolId
void SetCognitoIdentityPoolId(Aws::String &&value)
Definition: ResourceIdentifier.h:142
Aws::IoT::Model::ResourceIdentifier::WithCaCertificateId
ResourceIdentifier & WithCaCertificateId(const Aws::String &value)
Definition: ResourceIdentifier.h:111
Aws::IoT::Model::ResourceIdentifier::DeviceCertificateIdHasBeenSet
bool DeviceCertificateIdHasBeenSet() const
Definition: ResourceIdentifier.h:50
Aws::IoT::Model::ResourceIdentifier::SetClientId
void SetClientId(const Aws::String &value)
Definition: ResourceIdentifier.h:178
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::ResourceIdentifier::operator=
ResourceIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyVersionIdentifier.h
Aws::IoT::Model::ResourceIdentifier::AccountHasBeenSet
bool AccountHasBeenSet() const
Definition: ResourceIdentifier.h:245
Aws::IoT::Model::ResourceIdentifier::WithClientId
ResourceIdentifier & WithClientId(const Aws::String &value)
Definition: ResourceIdentifier.h:193
Aws::IoT::Model::ResourceIdentifier::SetCaCertificateId
void SetCaCertificateId(const char *value)
Definition: ResourceIdentifier.h:106
Aws::IoT::Model::ResourceIdentifier::GetDeviceCertificateId
const Aws::String & GetDeviceCertificateId() const
Definition: ResourceIdentifier.h:45
Aws::IoT::Model::ResourceIdentifier::SetCognitoIdentityPoolId
void SetCognitoIdentityPoolId(const char *value)
Definition: ResourceIdentifier.h:147
Aws::IoT::Model::ResourceIdentifier::GetAccount
const Aws::String & GetAccount() const
Definition: ResourceIdentifier.h:240
Aws::IoT::Model::ResourceIdentifier::CaCertificateIdHasBeenSet
bool CaCertificateIdHasBeenSet() const
Definition: ResourceIdentifier.h:91
Aws::IoT::Model::ResourceIdentifier::SetIamRoleArn
void SetIamRoleArn(const char *value)
Definition: ResourceIdentifier.h:301
Aws::IoT::Model::ResourceIdentifier::WithDeviceCertificateId
ResourceIdentifier & WithDeviceCertificateId(Aws::String &&value)
Definition: ResourceIdentifier.h:75
Aws::IoT::Model::ResourceIdentifier::WithPolicyVersionIdentifier
ResourceIdentifier & WithPolicyVersionIdentifier(const PolicyVersionIdentifier &value)
Definition: ResourceIdentifier.h:229
Aws::IoT::Model::ResourceIdentifier::SetDeviceCertificateId
void SetDeviceCertificateId(Aws::String &&value)
Definition: ResourceIdentifier.h:60
Aws::IoT::Model::ResourceIdentifier::SetPolicyVersionIdentifier
void SetPolicyVersionIdentifier(const PolicyVersionIdentifier &value)
Definition: ResourceIdentifier.h:219
Aws::IoT::Model::ResourceIdentifier::WithDeviceCertificateId
ResourceIdentifier & WithDeviceCertificateId(const char *value)
Definition: ResourceIdentifier.h:80
Aws::IoT::Model::ResourceIdentifier::GetClientId
const Aws::String & GetClientId() const
Definition: ResourceIdentifier.h:168
Aws::IoT::Model::ResourceIdentifier::WithCaCertificateId
ResourceIdentifier & WithCaCertificateId(Aws::String &&value)
Definition: ResourceIdentifier.h:116
Aws::IoT::Model::ResourceIdentifier::SetDeviceCertificateId
void SetDeviceCertificateId(const char *value)
Definition: ResourceIdentifier.h:65
Aws::IoT::Model::PolicyVersionIdentifier
Definition: PolicyVersionIdentifier.h:33
Aws::IoT::Model::ResourceIdentifier::SetRoleAliasArn
void SetRoleAliasArn(Aws::String &&value)
Definition: ResourceIdentifier.h:337
Aws::IoT::Model::ResourceIdentifier::WithCognitoIdentityPoolId
ResourceIdentifier & WithCognitoIdentityPoolId(const Aws::String &value)
Definition: ResourceIdentifier.h:152
Aws::IoT::Model::ResourceIdentifier::GetCaCertificateId
const Aws::String & GetCaCertificateId() const
Definition: ResourceIdentifier.h:86
Aws::IoT::Model::ResourceIdentifier::WithIamRoleArn
ResourceIdentifier & WithIamRoleArn(const Aws::String &value)
Definition: ResourceIdentifier.h:306
Aws::IoT::Model::ResourceIdentifier::SetIamRoleArn
void SetIamRoleArn(Aws::String &&value)
Definition: ResourceIdentifier.h:296
Aws::IoT::Model::ResourceIdentifier::WithRoleAliasArn
ResourceIdentifier & WithRoleAliasArn(const Aws::String &value)
Definition: ResourceIdentifier.h:347
Aws::IoT::Model::ResourceIdentifier::WithIamRoleArn
ResourceIdentifier & WithIamRoleArn(const char *value)
Definition: ResourceIdentifier.h:316
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ResourceIdentifier::WithPolicyVersionIdentifier
ResourceIdentifier & WithPolicyVersionIdentifier(PolicyVersionIdentifier &&value)
Definition: ResourceIdentifier.h:234
Aws::IoT::Model::ResourceIdentifier::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ResourceIdentifier::GetRoleAliasArn
const Aws::String & GetRoleAliasArn() const
Definition: ResourceIdentifier.h:322
Aws::IoT::Model::ResourceIdentifier::WithRoleAliasArn
ResourceIdentifier & WithRoleAliasArn(const char *value)
Definition: ResourceIdentifier.h:357
Aws::IoT::Model::ResourceIdentifier::ResourceIdentifier
ResourceIdentifier()
Aws::IoT::Model::ResourceIdentifier::GetIamRoleArn
const Aws::String & GetIamRoleArn() const
Definition: ResourceIdentifier.h:281
Aws::IoT::Model::ResourceIdentifier::SetCognitoIdentityPoolId
void SetCognitoIdentityPoolId(const Aws::String &value)
Definition: ResourceIdentifier.h:137
Aws::IoT::Model::ResourceIdentifier::WithAccount
ResourceIdentifier & WithAccount(Aws::String &&value)
Definition: ResourceIdentifier.h:270
Aws::IoT::Model::ResourceIdentifier::WithCaCertificateId
ResourceIdentifier & WithCaCertificateId(const char *value)
Definition: ResourceIdentifier.h:121
Aws::IoT::Model::ResourceIdentifier::GetCognitoIdentityPoolId
const Aws::String & GetCognitoIdentityPoolId() const
Definition: ResourceIdentifier.h:127
Aws::IoT::Model::ResourceIdentifier::WithAccount
ResourceIdentifier & WithAccount(const char *value)
Definition: ResourceIdentifier.h:275
Aws::IoT::Model::ResourceIdentifier::RoleAliasArnHasBeenSet
bool RoleAliasArnHasBeenSet() const
Definition: ResourceIdentifier.h:327
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ResourceIdentifier::WithClientId
ResourceIdentifier & WithClientId(const char *value)
Definition: ResourceIdentifier.h:203
Aws::IoT::Model::ResourceIdentifier::SetCaCertificateId
void SetCaCertificateId(const Aws::String &value)
Definition: ResourceIdentifier.h:96
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ResourceIdentifier::PolicyVersionIdentifierHasBeenSet
bool PolicyVersionIdentifierHasBeenSet() const
Definition: ResourceIdentifier.h:214
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ResourceIdentifier::SetClientId
void SetClientId(Aws::String &&value)
Definition: ResourceIdentifier.h:183
Aws::IoT::Model::ResourceIdentifier::WithClientId
ResourceIdentifier & WithClientId(Aws::String &&value)
Definition: ResourceIdentifier.h:198
Aws::IoT::Model::ResourceIdentifier::GetPolicyVersionIdentifier
const PolicyVersionIdentifier & GetPolicyVersionIdentifier() const
Definition: ResourceIdentifier.h:209
Aws::IoT::Model::ResourceIdentifier::SetAccount
void SetAccount(const char *value)
Definition: ResourceIdentifier.h:260
Aws::IoT::Model::ResourceIdentifier::WithCognitoIdentityPoolId
ResourceIdentifier & WithCognitoIdentityPoolId(const char *value)
Definition: ResourceIdentifier.h:162
Aws::IoT::Model::ResourceIdentifier::WithCognitoIdentityPoolId
ResourceIdentifier & WithCognitoIdentityPoolId(Aws::String &&value)
Definition: ResourceIdentifier.h:157
Aws::IoT::Model::ResourceIdentifier::SetRoleAliasArn
void SetRoleAliasArn(const char *value)
Definition: ResourceIdentifier.h:342
Aws::IoT::Model::ResourceIdentifier::CognitoIdentityPoolIdHasBeenSet
bool CognitoIdentityPoolIdHasBeenSet() const
Definition: ResourceIdentifier.h:132
Aws::IoT::Model::ResourceIdentifier::WithDeviceCertificateId
ResourceIdentifier & WithDeviceCertificateId(const Aws::String &value)
Definition: ResourceIdentifier.h:70
Aws::IoT::Model::ResourceIdentifier::ResourceIdentifier
ResourceIdentifier(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h
Aws::IoT::Model::ResourceIdentifier::SetPolicyVersionIdentifier
void SetPolicyVersionIdentifier(PolicyVersionIdentifier &&value)
Definition: ResourceIdentifier.h:224
Aws::IoT::Model::ResourceIdentifier::SetIamRoleArn
void SetIamRoleArn(const Aws::String &value)
Definition: ResourceIdentifier.h:291