7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sts/STSRequest.h>
10#include <aws/sts/STS_EXPORTS.h>
11#include <aws/sts/model/Tag.h>
12#include <aws/sts/model/WebIdentityTokenSubjectModeType.h>
47 template <
typename AudienceT = Aws::Vector<Aws::String>>
49 m_audienceHasBeenSet =
true;
50 m_audience = std::forward<AudienceT>(value);
52 template <
typename AudienceT = Aws::Vector<Aws::String>>
57 template <
typename AudienceT = Aws::String>
59 m_audienceHasBeenSet =
true;
60 m_audience.emplace_back(std::forward<AudienceT>(value));
76 m_durationSecondsHasBeenSet =
true;
77 m_durationSeconds = value;
93 template <
typename SigningAlgorithmT = Aws::String>
95 m_signingAlgorithmHasBeenSet =
true;
96 m_signingAlgorithm = std::forward<SigningAlgorithmT>(value);
98 template <
typename SigningAlgorithmT = Aws::String>
128 template <
typename ScopeT = Aws::String>
130 m_scopeHasBeenSet =
true;
131 m_scope = std::forward<ScopeT>(value);
133 template <
typename ScopeT = Aws::String>
135 SetScope(std::forward<ScopeT>(value));
169 m_subjectModeHasBeenSet =
true;
170 m_subjectMode = value;
186 template <
typename TagsT = Aws::Vector<Tag>>
188 m_tagsHasBeenSet =
true;
189 m_tags = std::forward<TagsT>(value);
191 template <
typename TagsT = Aws::Vector<Tag>>
193 SetTags(std::forward<TagsT>(value));
196 template <
typename TagsT = Tag>
198 m_tagsHasBeenSet =
true;
199 m_tags.emplace_back(std::forward<TagsT>(value));
206 int m_durationSeconds{0};
215 bool m_audienceHasBeenSet =
false;
216 bool m_durationSecondsHasBeenSet =
false;
217 bool m_signingAlgorithmHasBeenSet =
false;
218 bool m_scopeHasBeenSet =
false;
219 bool m_subjectModeHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
bool SubjectModeHasBeenSet() const
AWS_STS_API GetWebIdentityTokenRequest()=default
int GetDurationSeconds() const
GetWebIdentityTokenRequest & WithSubjectMode(WebIdentityTokenSubjectModeType value)
bool TagsHasBeenSet() const
void SetScope(ScopeT &&value)
bool ScopeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetWebIdentityTokenRequest & AddAudience(AudienceT &&value)
GetWebIdentityTokenRequest & AddTags(TagsT &&value)
bool SigningAlgorithmHasBeenSet() const
bool AudienceHasBeenSet() const
AWS_STS_API Aws::String SerializePayload() const override
void SetAudience(AudienceT &&value)
GetWebIdentityTokenRequest & WithTags(TagsT &&value)
void SetDurationSeconds(int value)
GetWebIdentityTokenRequest & WithDurationSeconds(int value)
const Aws::String & GetScope() const
const Aws::Vector< Aws::String > & GetAudience() const
const Aws::String & GetSigningAlgorithm() const
void SetSigningAlgorithm(SigningAlgorithmT &&value)
GetWebIdentityTokenRequest & WithScope(ScopeT &&value)
void SetTags(TagsT &&value)
void SetSubjectMode(WebIdentityTokenSubjectModeType value)
GetWebIdentityTokenRequest & WithSigningAlgorithm(SigningAlgorithmT &&value)
WebIdentityTokenSubjectModeType GetSubjectMode() const
virtual const char * GetServiceRequestName() const override
GetWebIdentityTokenRequest & WithAudience(AudienceT &&value)
bool DurationSecondsHasBeenSet() const
WebIdentityTokenSubjectModeType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector