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/PolicyDescriptorType.h>
12#include <aws/sts/model/Tag.h>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
97 template <
typename PolicyT = Aws::String>
99 m_policyHasBeenSet =
true;
100 m_policy = std::forward<PolicyT>(value);
102 template <
typename PolicyT = Aws::String>
147 template <
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
149 m_policyArnsHasBeenSet =
true;
150 m_policyArns = std::forward<PolicyArnsT>(value);
152 template <
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
157 template <
typename PolicyArnsT = PolicyDescriptorType>
159 m_policyArnsHasBeenSet =
true;
160 m_policyArns.emplace_back(std::forward<PolicyArnsT>(value));
177 m_durationSecondsHasBeenSet =
true;
178 m_durationSeconds = value;
215 template <
typename TagsT = Aws::Vector<Tag>>
217 m_tagsHasBeenSet =
true;
218 m_tags = std::forward<TagsT>(value);
220 template <
typename TagsT = Aws::Vector<Tag>>
222 SetTags(std::forward<TagsT>(value));
225 template <
typename TagsT = Tag>
227 m_tagsHasBeenSet =
true;
228 m_tags.emplace_back(std::forward<TagsT>(value));
234 bool m_nameHasBeenSet =
false;
237 bool m_policyHasBeenSet =
false;
240 bool m_policyArnsHasBeenSet =
false;
242 int m_durationSeconds{0};
243 bool m_durationSecondsHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PolicyDescriptorType > & GetPolicyArns() const
bool PolicyHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetPolicy() const
bool PolicyArnsHasBeenSet() const
GetFederationTokenRequest & AddTags(TagsT &&value)
void SetName(NameT &&value)
void SetPolicy(PolicyT &&value)
bool DurationSecondsHasBeenSet() const
void SetPolicyArns(PolicyArnsT &&value)
GetFederationTokenRequest & WithName(NameT &&value)
GetFederationTokenRequest & AddPolicyArns(PolicyArnsT &&value)
GetFederationTokenRequest & WithPolicyArns(PolicyArnsT &&value)
int GetDurationSeconds() const
GetFederationTokenRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetFederationTokenRequest & WithPolicy(PolicyT &&value)
GetFederationTokenRequest & WithDurationSeconds(int value)
void SetDurationSeconds(int value)
bool TagsHasBeenSet() const
AWS_STS_API GetFederationTokenRequest()=default
AWS_STS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector