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>
60 template<
typename RoleArnT = Aws::String>
61 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
62 template<
typename RoleArnT = Aws::String>
86 template<
typename RoleSessionNameT = Aws::String>
87 void SetRoleSessionName(RoleSessionNameT&& value) { m_roleSessionNameHasBeenSet =
true; m_roleSessionName = std::forward<RoleSessionNameT>(value); }
88 template<
typename RoleSessionNameT = Aws::String>
104 template<
typename WebIdentityTokenT = Aws::String>
105 void SetWebIdentityToken(WebIdentityTokenT&& value) { m_webIdentityTokenHasBeenSet =
true; m_webIdentityToken = std::forward<WebIdentityTokenT>(value); }
106 template<
typename WebIdentityTokenT = Aws::String>
121 template<
typename Prov
iderIdT = Aws::String>
122 void SetProviderId(ProviderIdT&& value) { m_providerIdHasBeenSet =
true; m_providerId = std::forward<ProviderIdT>(value); }
123 template<
typename Prov
iderIdT = Aws::String>
155 template<
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
156 void SetPolicyArns(PolicyArnsT&& value) { m_policyArnsHasBeenSet =
true; m_policyArns = std::forward<PolicyArnsT>(value); }
157 template<
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
159 template<
typename PolicyArnsT = PolicyDescriptorType>
191 template<
typename PolicyT = Aws::String>
192 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
193 template<
typename PolicyT = Aws::String>
220 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
226 bool m_roleArnHasBeenSet =
false;
229 bool m_roleSessionNameHasBeenSet =
false;
232 bool m_webIdentityTokenHasBeenSet =
false;
235 bool m_providerIdHasBeenSet =
false;
238 bool m_policyArnsHasBeenSet =
false;
241 bool m_policyHasBeenSet =
false;
243 int m_durationSeconds{0};
244 bool m_durationSecondsHasBeenSet =
false;
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool PolicyArnsHasBeenSet() const
const Aws::Vector< PolicyDescriptorType > & GetPolicyArns() const
bool RoleArnHasBeenSet() const
AssumeRoleWithWebIdentityRequest & WithRoleArn(RoleArnT &&value)
AssumeRoleWithWebIdentityRequest & WithPolicyArns(PolicyArnsT &&value)
const Aws::String & GetWebIdentityToken() const
const Aws::String & GetRoleSessionName() const
const Aws::String & GetProviderId() const
AssumeRoleWithWebIdentityRequest & WithDurationSeconds(int value)
void SetRoleArn(RoleArnT &&value)
int GetDurationSeconds() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicy() const
const Aws::String & GetRoleArn() const
void SetRoleSessionName(RoleSessionNameT &&value)
AWS_STS_API Aws::String SerializePayload() const override
void SetWebIdentityToken(WebIdentityTokenT &&value)
void SetDurationSeconds(int value)
bool WebIdentityTokenHasBeenSet() const
void SetProviderId(ProviderIdT &&value)
AssumeRoleWithWebIdentityRequest & WithRoleSessionName(RoleSessionNameT &&value)
void SetPolicy(PolicyT &&value)
bool DurationSecondsHasBeenSet() const
bool RoleSessionNameHasBeenSet() const
bool PolicyHasBeenSet() const
AWS_STS_API AssumeRoleWithWebIdentityRequest()=default
AssumeRoleWithWebIdentityRequest & WithProviderId(ProviderIdT &&value)
bool ProviderIdHasBeenSet() const
AssumeRoleWithWebIdentityRequest & AddPolicyArns(PolicyArnsT &&value)
void SetPolicyArns(PolicyArnsT &&value)
AssumeRoleWithWebIdentityRequest & WithPolicy(PolicyT &&value)
AssumeRoleWithWebIdentityRequest & WithWebIdentityToken(WebIdentityTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector