AWS SDK for C++  1.9.106
AWS SDK for C++
AssumeRoleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sts/STS_EXPORTS.h>
8 #include <aws/sts/STSRequest.h>
12 #include <aws/sts/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace STS
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "AssumeRole"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 
50  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
51 
55  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
56 
60  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
61 
65  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
66 
70  inline AssumeRoleRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
71 
75  inline AssumeRoleRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
76 
80  inline AssumeRoleRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
81 
82 
96  inline const Aws::String& GetRoleSessionName() const{ return m_roleSessionName; }
97 
111  inline bool RoleSessionNameHasBeenSet() const { return m_roleSessionNameHasBeenSet; }
112 
126  inline void SetRoleSessionName(const Aws::String& value) { m_roleSessionNameHasBeenSet = true; m_roleSessionName = value; }
127 
141  inline void SetRoleSessionName(Aws::String&& value) { m_roleSessionNameHasBeenSet = true; m_roleSessionName = std::move(value); }
142 
156  inline void SetRoleSessionName(const char* value) { m_roleSessionNameHasBeenSet = true; m_roleSessionName.assign(value); }
157 
171  inline AssumeRoleRequest& WithRoleSessionName(const Aws::String& value) { SetRoleSessionName(value); return *this;}
172 
186  inline AssumeRoleRequest& WithRoleSessionName(Aws::String&& value) { SetRoleSessionName(std::move(value)); return *this;}
187 
201  inline AssumeRoleRequest& WithRoleSessionName(const char* value) { SetRoleSessionName(value); return *this;}
202 
203 
229  inline const Aws::Vector<PolicyDescriptorType>& GetPolicyArns() const{ return m_policyArns; }
230 
256  inline bool PolicyArnsHasBeenSet() const { return m_policyArnsHasBeenSet; }
257 
283  inline void SetPolicyArns(const Aws::Vector<PolicyDescriptorType>& value) { m_policyArnsHasBeenSet = true; m_policyArns = value; }
284 
310  inline void SetPolicyArns(Aws::Vector<PolicyDescriptorType>&& value) { m_policyArnsHasBeenSet = true; m_policyArns = std::move(value); }
311 
337  inline AssumeRoleRequest& WithPolicyArns(const Aws::Vector<PolicyDescriptorType>& value) { SetPolicyArns(value); return *this;}
338 
364  inline AssumeRoleRequest& WithPolicyArns(Aws::Vector<PolicyDescriptorType>&& value) { SetPolicyArns(std::move(value)); return *this;}
365 
391  inline AssumeRoleRequest& AddPolicyArns(const PolicyDescriptorType& value) { m_policyArnsHasBeenSet = true; m_policyArns.push_back(value); return *this; }
392 
418  inline AssumeRoleRequest& AddPolicyArns(PolicyDescriptorType&& value) { m_policyArnsHasBeenSet = true; m_policyArns.push_back(std::move(value)); return *this; }
419 
420 
443  inline const Aws::String& GetPolicy() const{ return m_policy; }
444 
467  inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
468 
491  inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; }
492 
515  inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
516 
539  inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); }
540 
563  inline AssumeRoleRequest& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
564 
587  inline AssumeRoleRequest& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
588 
611  inline AssumeRoleRequest& WithPolicy(const char* value) { SetPolicy(value); return *this;}
612 
613 
635  inline int GetDurationSeconds() const{ return m_durationSeconds; }
636 
658  inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; }
659 
681  inline void SetDurationSeconds(int value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; }
682 
704  inline AssumeRoleRequest& WithDurationSeconds(int value) { SetDurationSeconds(value); return *this;}
705 
706 
740  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
741 
775  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
776 
810  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
811 
845  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
846 
880  inline AssumeRoleRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
881 
915  inline AssumeRoleRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
916 
950  inline AssumeRoleRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
951 
985  inline AssumeRoleRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
986 
987 
999  inline const Aws::Vector<Aws::String>& GetTransitiveTagKeys() const{ return m_transitiveTagKeys; }
1000 
1012  inline bool TransitiveTagKeysHasBeenSet() const { return m_transitiveTagKeysHasBeenSet; }
1013 
1025  inline void SetTransitiveTagKeys(const Aws::Vector<Aws::String>& value) { m_transitiveTagKeysHasBeenSet = true; m_transitiveTagKeys = value; }
1026 
1038  inline void SetTransitiveTagKeys(Aws::Vector<Aws::String>&& value) { m_transitiveTagKeysHasBeenSet = true; m_transitiveTagKeys = std::move(value); }
1039 
1051  inline AssumeRoleRequest& WithTransitiveTagKeys(const Aws::Vector<Aws::String>& value) { SetTransitiveTagKeys(value); return *this;}
1052 
1064  inline AssumeRoleRequest& WithTransitiveTagKeys(Aws::Vector<Aws::String>&& value) { SetTransitiveTagKeys(std::move(value)); return *this;}
1065 
1077  inline AssumeRoleRequest& AddTransitiveTagKeys(const Aws::String& value) { m_transitiveTagKeysHasBeenSet = true; m_transitiveTagKeys.push_back(value); return *this; }
1078 
1090  inline AssumeRoleRequest& AddTransitiveTagKeys(Aws::String&& value) { m_transitiveTagKeysHasBeenSet = true; m_transitiveTagKeys.push_back(std::move(value)); return *this; }
1091 
1103  inline AssumeRoleRequest& AddTransitiveTagKeys(const char* value) { m_transitiveTagKeysHasBeenSet = true; m_transitiveTagKeys.push_back(value); return *this; }
1104 
1105 
1123  inline const Aws::String& GetExternalId() const{ return m_externalId; }
1124 
1142  inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
1143 
1161  inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
1162 
1180  inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
1181 
1199  inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
1200 
1218  inline AssumeRoleRequest& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
1219 
1237  inline AssumeRoleRequest& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
1238 
1256  inline AssumeRoleRequest& WithExternalId(const char* value) { SetExternalId(value); return *this;}
1257 
1258 
1270  inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
1271 
1283  inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
1284 
1296  inline void SetSerialNumber(const Aws::String& value) { m_serialNumberHasBeenSet = true; m_serialNumber = value; }
1297 
1309  inline void SetSerialNumber(Aws::String&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::move(value); }
1310 
1322  inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); }
1323 
1335  inline AssumeRoleRequest& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
1336 
1348  inline AssumeRoleRequest& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
1349 
1361  inline AssumeRoleRequest& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
1362 
1363 
1372  inline const Aws::String& GetTokenCode() const{ return m_tokenCode; }
1373 
1382  inline bool TokenCodeHasBeenSet() const { return m_tokenCodeHasBeenSet; }
1383 
1392  inline void SetTokenCode(const Aws::String& value) { m_tokenCodeHasBeenSet = true; m_tokenCode = value; }
1393 
1402  inline void SetTokenCode(Aws::String&& value) { m_tokenCodeHasBeenSet = true; m_tokenCode = std::move(value); }
1403 
1412  inline void SetTokenCode(const char* value) { m_tokenCodeHasBeenSet = true; m_tokenCode.assign(value); }
1413 
1422  inline AssumeRoleRequest& WithTokenCode(const Aws::String& value) { SetTokenCode(value); return *this;}
1423 
1432  inline AssumeRoleRequest& WithTokenCode(Aws::String&& value) { SetTokenCode(std::move(value)); return *this;}
1433 
1442  inline AssumeRoleRequest& WithTokenCode(const char* value) { SetTokenCode(value); return *this;}
1443 
1444 
1462  inline const Aws::String& GetSourceIdentity() const{ return m_sourceIdentity; }
1463 
1481  inline bool SourceIdentityHasBeenSet() const { return m_sourceIdentityHasBeenSet; }
1482 
1500  inline void SetSourceIdentity(const Aws::String& value) { m_sourceIdentityHasBeenSet = true; m_sourceIdentity = value; }
1501 
1519  inline void SetSourceIdentity(Aws::String&& value) { m_sourceIdentityHasBeenSet = true; m_sourceIdentity = std::move(value); }
1520 
1538  inline void SetSourceIdentity(const char* value) { m_sourceIdentityHasBeenSet = true; m_sourceIdentity.assign(value); }
1539 
1557  inline AssumeRoleRequest& WithSourceIdentity(const Aws::String& value) { SetSourceIdentity(value); return *this;}
1558 
1576  inline AssumeRoleRequest& WithSourceIdentity(Aws::String&& value) { SetSourceIdentity(std::move(value)); return *this;}
1577 
1595  inline AssumeRoleRequest& WithSourceIdentity(const char* value) { SetSourceIdentity(value); return *this;}
1596 
1597  private:
1598 
1599  Aws::String m_roleArn;
1600  bool m_roleArnHasBeenSet;
1601 
1602  Aws::String m_roleSessionName;
1603  bool m_roleSessionNameHasBeenSet;
1604 
1605  Aws::Vector<PolicyDescriptorType> m_policyArns;
1606  bool m_policyArnsHasBeenSet;
1607 
1608  Aws::String m_policy;
1609  bool m_policyHasBeenSet;
1610 
1611  int m_durationSeconds;
1612  bool m_durationSecondsHasBeenSet;
1613 
1614  Aws::Vector<Tag> m_tags;
1615  bool m_tagsHasBeenSet;
1616 
1617  Aws::Vector<Aws::String> m_transitiveTagKeys;
1618  bool m_transitiveTagKeysHasBeenSet;
1619 
1620  Aws::String m_externalId;
1621  bool m_externalIdHasBeenSet;
1622 
1623  Aws::String m_serialNumber;
1624  bool m_serialNumberHasBeenSet;
1625 
1626  Aws::String m_tokenCode;
1627  bool m_tokenCodeHasBeenSet;
1628 
1629  Aws::String m_sourceIdentity;
1630  bool m_sourceIdentityHasBeenSet;
1631  };
1632 
1633 } // namespace Model
1634 } // namespace STS
1635 } // namespace Aws
Aws::STS::Model::AssumeRoleRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: AssumeRoleRequest.h:810
Aws::STS::Model::AssumeRoleRequest::SerialNumberHasBeenSet
bool SerialNumberHasBeenSet() const
Definition: AssumeRoleRequest.h:1283
Aws::STS::Model::AssumeRoleRequest::WithSourceIdentity
AssumeRoleRequest & WithSourceIdentity(const Aws::String &value)
Definition: AssumeRoleRequest.h:1557
Aws::STS::Model::AssumeRoleRequest::SetTransitiveTagKeys
void SetTransitiveTagKeys(const Aws::Vector< Aws::String > &value)
Definition: AssumeRoleRequest.h:1025
Aws::STS::Model::AssumeRoleRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: AssumeRoleRequest.h:60
Aws::STS::STSRequest
Definition: STSRequest.h:17
Aws::STS::Model::AssumeRoleRequest::SetSerialNumber
void SetSerialNumber(const char *value)
Definition: AssumeRoleRequest.h:1322
Aws::Http::URI
Definition: URI.h:32
Aws::STS::Model::AssumeRoleRequest::GetPolicy
const Aws::String & GetPolicy() const
Definition: AssumeRoleRequest.h:443
Aws::STS::Model::PolicyDescriptorType
Definition: PolicyDescriptorType.h:33
Aws::STS::Model::AssumeRoleRequest::SetDurationSeconds
void SetDurationSeconds(int value)
Definition: AssumeRoleRequest.h:681
Aws::STS::Model::AssumeRoleRequest::SetTokenCode
void SetTokenCode(const char *value)
Definition: AssumeRoleRequest.h:1412
Aws::STS::Model::AssumeRoleRequest::RoleSessionNameHasBeenSet
bool RoleSessionNameHasBeenSet() const
Definition: AssumeRoleRequest.h:111
Aws::STS::Model::AssumeRoleRequest::AddTransitiveTagKeys
AssumeRoleRequest & AddTransitiveTagKeys(Aws::String &&value)
Definition: AssumeRoleRequest.h:1090
Aws::STS::Model::AssumeRoleRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: AssumeRoleRequest.h:845
Aws::STS::Model::AssumeRoleRequest
Definition: AssumeRoleRequest.h:25
Aws::STS::Model::AssumeRoleRequest::GetTokenCode
const Aws::String & GetTokenCode() const
Definition: AssumeRoleRequest.h:1372
Aws::STS::Model::AssumeRoleRequest::WithSerialNumber
AssumeRoleRequest & WithSerialNumber(const Aws::String &value)
Definition: AssumeRoleRequest.h:1335
Aws::STS::Model::AssumeRoleRequest::GetTransitiveTagKeys
const Aws::Vector< Aws::String > & GetTransitiveTagKeys() const
Definition: AssumeRoleRequest.h:999
Tag.h
AWS_STS_API
#define AWS_STS_API
Definition: STS_EXPORTS.h:28
Aws::STS::Model::Tag
Definition: Tag.h:36
Aws::STS::Model::AssumeRoleRequest::WithTokenCode
AssumeRoleRequest & WithTokenCode(const Aws::String &value)
Definition: AssumeRoleRequest.h:1422
Aws::STS::Model::AssumeRoleRequest::WithRoleSessionName
AssumeRoleRequest & WithRoleSessionName(const char *value)
Definition: AssumeRoleRequest.h:201
Aws::STS::Model::AssumeRoleRequest::GetPolicyArns
const Aws::Vector< PolicyDescriptorType > & GetPolicyArns() const
Definition: AssumeRoleRequest.h:229
Aws::STS::Model::AssumeRoleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::STS::Model::AssumeRoleRequest::WithSerialNumber
AssumeRoleRequest & WithSerialNumber(Aws::String &&value)
Definition: AssumeRoleRequest.h:1348
Aws::STS::Model::AssumeRoleRequest::WithPolicy
AssumeRoleRequest & WithPolicy(Aws::String &&value)
Definition: AssumeRoleRequest.h:587
Aws::STS::Model::AssumeRoleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssumeRoleRequest.h:33
Aws::STS::Model::AssumeRoleRequest::GetSerialNumber
const Aws::String & GetSerialNumber() const
Definition: AssumeRoleRequest.h:1270
Aws::STS::Model::AssumeRoleRequest::WithExternalId
AssumeRoleRequest & WithExternalId(const Aws::String &value)
Definition: AssumeRoleRequest.h:1218
AWSVector.h
Aws::STS::Model::AssumeRoleRequest::ExternalIdHasBeenSet
bool ExternalIdHasBeenSet() const
Definition: AssumeRoleRequest.h:1142
Aws::STS::Model::AssumeRoleRequest::WithRoleArn
AssumeRoleRequest & WithRoleArn(Aws::String &&value)
Definition: AssumeRoleRequest.h:75
Aws::STS::Model::AssumeRoleRequest::SetPolicy
void SetPolicy(const Aws::String &value)
Definition: AssumeRoleRequest.h:491
Aws::STS::Model::AssumeRoleRequest::WithRoleArn
AssumeRoleRequest & WithRoleArn(const Aws::String &value)
Definition: AssumeRoleRequest.h:70
Aws::STS::Model::AssumeRoleRequest::TokenCodeHasBeenSet
bool TokenCodeHasBeenSet() const
Definition: AssumeRoleRequest.h:1382
Aws::STS::Model::AssumeRoleRequest::SetPolicyArns
void SetPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
Definition: AssumeRoleRequest.h:310
Aws::STS::Model::AssumeRoleRequest::GetSourceIdentity
const Aws::String & GetSourceIdentity() const
Definition: AssumeRoleRequest.h:1462
Aws::STS::Model::AssumeRoleRequest::WithExternalId
AssumeRoleRequest & WithExternalId(Aws::String &&value)
Definition: AssumeRoleRequest.h:1237
Aws::STS::Model::AssumeRoleRequest::SetExternalId
void SetExternalId(Aws::String &&value)
Definition: AssumeRoleRequest.h:1180
Aws::STS::Model::AssumeRoleRequest::SetRoleSessionName
void SetRoleSessionName(const Aws::String &value)
Definition: AssumeRoleRequest.h:126
Aws::STS::Model::AssumeRoleRequest::WithRoleSessionName
AssumeRoleRequest & WithRoleSessionName(Aws::String &&value)
Definition: AssumeRoleRequest.h:186
Aws::STS::Model::AssumeRoleRequest::WithTokenCode
AssumeRoleRequest & WithTokenCode(const char *value)
Definition: AssumeRoleRequest.h:1442
Aws::STS::Model::AssumeRoleRequest::WithTransitiveTagKeys
AssumeRoleRequest & WithTransitiveTagKeys(const Aws::Vector< Aws::String > &value)
Definition: AssumeRoleRequest.h:1051
Aws::STS::Model::AssumeRoleRequest::AddPolicyArns
AssumeRoleRequest & AddPolicyArns(PolicyDescriptorType &&value)
Definition: AssumeRoleRequest.h:418
Aws::STS::Model::AssumeRoleRequest::TransitiveTagKeysHasBeenSet
bool TransitiveTagKeysHasBeenSet() const
Definition: AssumeRoleRequest.h:1012
STS_EXPORTS.h
Aws::STS::Model::AssumeRoleRequest::WithTokenCode
AssumeRoleRequest & WithTokenCode(Aws::String &&value)
Definition: AssumeRoleRequest.h:1432
Aws::STS::Model::AssumeRoleRequest::SetTokenCode
void SetTokenCode(Aws::String &&value)
Definition: AssumeRoleRequest.h:1402
Aws::STS::Model::AssumeRoleRequest::WithSerialNumber
AssumeRoleRequest & WithSerialNumber(const char *value)
Definition: AssumeRoleRequest.h:1361
Aws::STS::Model::AssumeRoleRequest::SetSerialNumber
void SetSerialNumber(Aws::String &&value)
Definition: AssumeRoleRequest.h:1309
Aws::STS::Model::AssumeRoleRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: AssumeRoleRequest.h:55
Aws::STS::Model::AssumeRoleRequest::SetSourceIdentity
void SetSourceIdentity(Aws::String &&value)
Definition: AssumeRoleRequest.h:1519
Aws::STS::Model::AssumeRoleRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: AssumeRoleRequest.h:65
Aws::STS::Model::AssumeRoleRequest::AddTags
AssumeRoleRequest & AddTags(Tag &&value)
Definition: AssumeRoleRequest.h:985
PolicyDescriptorType.h
Aws::STS::Model::AssumeRoleRequest::SetSourceIdentity
void SetSourceIdentity(const char *value)
Definition: AssumeRoleRequest.h:1538
Aws::STS::Model::AssumeRoleRequest::WithDurationSeconds
AssumeRoleRequest & WithDurationSeconds(int value)
Definition: AssumeRoleRequest.h:704
AWSString.h
Aws::STS::Model::AssumeRoleRequest::WithPolicy
AssumeRoleRequest & WithPolicy(const Aws::String &value)
Definition: AssumeRoleRequest.h:563
Aws::STS::Model::AssumeRoleRequest::AddTransitiveTagKeys
AssumeRoleRequest & AddTransitiveTagKeys(const char *value)
Definition: AssumeRoleRequest.h:1103
Aws::STS::Model::AssumeRoleRequest::GetRoleSessionName
const Aws::String & GetRoleSessionName() const
Definition: AssumeRoleRequest.h:96
Aws::STS::Model::AssumeRoleRequest::WithRoleSessionName
AssumeRoleRequest & WithRoleSessionName(const Aws::String &value)
Definition: AssumeRoleRequest.h:171
Aws::STS::Model::AssumeRoleRequest::PolicyArnsHasBeenSet
bool PolicyArnsHasBeenSet() const
Definition: AssumeRoleRequest.h:256
Aws::STS::Model::AssumeRoleRequest::WithPolicyArns
AssumeRoleRequest & WithPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
Definition: AssumeRoleRequest.h:337
Aws::STS::Model::AssumeRoleRequest::WithRoleArn
AssumeRoleRequest & WithRoleArn(const char *value)
Definition: AssumeRoleRequest.h:80
Aws::STS::Model::AssumeRoleRequest::WithPolicy
AssumeRoleRequest & WithPolicy(const char *value)
Definition: AssumeRoleRequest.h:611
Aws::STS::Model::AssumeRoleRequest::WithTags
AssumeRoleRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: AssumeRoleRequest.h:915
Aws::STS::Model::AssumeRoleRequest::AddPolicyArns
AssumeRoleRequest & AddPolicyArns(const PolicyDescriptorType &value)
Definition: AssumeRoleRequest.h:391
Aws::STS::Model::AssumeRoleRequest::DurationSecondsHasBeenSet
bool DurationSecondsHasBeenSet() const
Definition: AssumeRoleRequest.h:658
Aws::STS::Model::AssumeRoleRequest::WithTags
AssumeRoleRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: AssumeRoleRequest.h:880
Aws::STS::Model::AssumeRoleRequest::AddTags
AssumeRoleRequest & AddTags(const Tag &value)
Definition: AssumeRoleRequest.h:950
Aws::STS::Model::AssumeRoleRequest::WithSourceIdentity
AssumeRoleRequest & WithSourceIdentity(const char *value)
Definition: AssumeRoleRequest.h:1595
Aws::STS::Model::AssumeRoleRequest::SetExternalId
void SetExternalId(const Aws::String &value)
Definition: AssumeRoleRequest.h:1161
Aws::STS::Model::AssumeRoleRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: AssumeRoleRequest.h:740
Aws::STS::Model::AssumeRoleRequest::GetDurationSeconds
int GetDurationSeconds() const
Definition: AssumeRoleRequest.h:635
Aws::STS::Model::AssumeRoleRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: AssumeRoleRequest.h:50
Aws::STS::Model::AssumeRoleRequest::AssumeRoleRequest
AssumeRoleRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::STS::Model::AssumeRoleRequest::SetExternalId
void SetExternalId(const char *value)
Definition: AssumeRoleRequest.h:1199
Aws::STS::Model::AssumeRoleRequest::SetRoleSessionName
void SetRoleSessionName(const char *value)
Definition: AssumeRoleRequest.h:156
Aws::STS::Model::AssumeRoleRequest::SetRoleSessionName
void SetRoleSessionName(Aws::String &&value)
Definition: AssumeRoleRequest.h:141
Aws::STS::Model::AssumeRoleRequest::SetTokenCode
void SetTokenCode(const Aws::String &value)
Definition: AssumeRoleRequest.h:1392
Aws::STS::Model::AssumeRoleRequest::SetPolicy
void SetPolicy(const char *value)
Definition: AssumeRoleRequest.h:539
Aws::STS::Model::AssumeRoleRequest::SourceIdentityHasBeenSet
bool SourceIdentityHasBeenSet() const
Definition: AssumeRoleRequest.h:1481
Aws::STS::Model::AssumeRoleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::STS::Model::AssumeRoleRequest::SetSourceIdentity
void SetSourceIdentity(const Aws::String &value)
Definition: AssumeRoleRequest.h:1500
Aws::STS::Model::AssumeRoleRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: AssumeRoleRequest.h:775
Aws::STS::Model::AssumeRoleRequest::WithExternalId
AssumeRoleRequest & WithExternalId(const char *value)
Definition: AssumeRoleRequest.h:1256
Aws::STS::Model::AssumeRoleRequest::SetPolicy
void SetPolicy(Aws::String &&value)
Definition: AssumeRoleRequest.h:515
Aws::STS::Model::AssumeRoleRequest::PolicyHasBeenSet
bool PolicyHasBeenSet() const
Definition: AssumeRoleRequest.h:467
Aws::STS::Model::AssumeRoleRequest::SetPolicyArns
void SetPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
Definition: AssumeRoleRequest.h:283
Aws::STS::Model::AssumeRoleRequest::SetSerialNumber
void SetSerialNumber(const Aws::String &value)
Definition: AssumeRoleRequest.h:1296
Aws::STS::Model::AssumeRoleRequest::WithPolicyArns
AssumeRoleRequest & WithPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
Definition: AssumeRoleRequest.h:364
Aws::STS::Model::AssumeRoleRequest::WithSourceIdentity
AssumeRoleRequest & WithSourceIdentity(Aws::String &&value)
Definition: AssumeRoleRequest.h:1576
Aws::STS::Model::AssumeRoleRequest::WithTransitiveTagKeys
AssumeRoleRequest & WithTransitiveTagKeys(Aws::Vector< Aws::String > &&value)
Definition: AssumeRoleRequest.h:1064
Aws::STS::Model::AssumeRoleRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: AssumeRoleRequest.h:45
STSRequest.h
Aws::STS::Model::AssumeRoleRequest::SetTransitiveTagKeys
void SetTransitiveTagKeys(Aws::Vector< Aws::String > &&value)
Definition: AssumeRoleRequest.h:1038
Aws::STS::Model::AssumeRoleRequest::AddTransitiveTagKeys
AssumeRoleRequest & AddTransitiveTagKeys(const Aws::String &value)
Definition: AssumeRoleRequest.h:1077
Aws::STS::Model::AssumeRoleRequest::GetExternalId
const Aws::String & GetExternalId() const
Definition: AssumeRoleRequest.h:1123