7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/sts/STSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sts/model/PolicyDescriptorType.h>
49 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
70 inline void SetRoleSessionName(
const char* value) { m_roleSessionNameHasBeenSet =
true; m_roleSessionName.assign(value); }
88 inline void SetWebIdentityToken(
const char* value) { m_webIdentityTokenHasBeenSet =
true; m_webIdentityToken.assign(value); }
107 inline void SetProviderId(
const char* value) { m_providerIdHasBeenSet =
true; m_providerId.assign(value); }
177 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
206 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
212 bool m_roleArnHasBeenSet =
false;
215 bool m_roleSessionNameHasBeenSet =
false;
218 bool m_webIdentityTokenHasBeenSet =
false;
221 bool m_providerIdHasBeenSet =
false;
224 bool m_policyArnsHasBeenSet =
false;
227 bool m_policyHasBeenSet =
false;
229 int m_durationSeconds;
230 bool m_durationSecondsHasBeenSet =
false;
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool PolicyArnsHasBeenSet() const
AssumeRoleWithWebIdentityRequest & WithProviderId(const char *value)
const Aws::Vector< PolicyDescriptorType > & GetPolicyArns() const
void SetWebIdentityToken(const char *value)
void SetProviderId(const char *value)
AssumeRoleWithWebIdentityRequest & WithWebIdentityToken(Aws::String &&value)
bool RoleArnHasBeenSet() const
void SetRoleArn(const Aws::String &value)
const Aws::String & GetWebIdentityToken() const
void SetPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
const Aws::String & GetRoleSessionName() const
const Aws::String & GetProviderId() const
void SetPolicy(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithProviderId(Aws::String &&value)
void SetPolicy(const char *value)
void SetRoleArn(const char *value)
AssumeRoleWithWebIdentityRequest & WithDurationSeconds(int value)
void SetWebIdentityToken(Aws::String &&value)
void SetWebIdentityToken(const Aws::String &value)
void SetProviderId(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithPolicy(const Aws::String &value)
int GetDurationSeconds() const
virtual const char * GetServiceRequestName() const override
void SetRoleSessionName(const char *value)
AssumeRoleWithWebIdentityRequest & WithProviderId(const Aws::String &value)
const Aws::String & GetPolicy() const
const Aws::String & GetRoleArn() const
AWS_STS_API AssumeRoleWithWebIdentityRequest()
AssumeRoleWithWebIdentityRequest & WithPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
void SetRoleSessionName(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithRoleSessionName(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithPolicy(const char *value)
AWS_STS_API Aws::String SerializePayload() const override
AssumeRoleWithWebIdentityRequest & WithRoleArn(Aws::String &&value)
void SetDurationSeconds(int value)
bool WebIdentityTokenHasBeenSet() const
AssumeRoleWithWebIdentityRequest & WithRoleSessionName(Aws::String &&value)
void SetPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
void SetRoleSessionName(Aws::String &&value)
AssumeRoleWithWebIdentityRequest & WithRoleSessionName(const char *value)
bool DurationSecondsHasBeenSet() const
bool RoleSessionNameHasBeenSet() const
AssumeRoleWithWebIdentityRequest & WithPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
AssumeRoleWithWebIdentityRequest & WithRoleArn(const char *value)
bool PolicyHasBeenSet() const
AssumeRoleWithWebIdentityRequest & AddPolicyArns(const PolicyDescriptorType &value)
AssumeRoleWithWebIdentityRequest & WithRoleArn(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithPolicy(Aws::String &&value)
AssumeRoleWithWebIdentityRequest & WithWebIdentityToken(const Aws::String &value)
AssumeRoleWithWebIdentityRequest & WithWebIdentityToken(const char *value)
bool ProviderIdHasBeenSet() const
void SetProviderId(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
void SetPolicy(Aws::String &&value)
AssumeRoleWithWebIdentityRequest & AddPolicyArns(PolicyDescriptorType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector