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>
12#include <aws/sts/model/Tag.h>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
95 template<
typename PolicyT = Aws::String>
96 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
97 template<
typename PolicyT = Aws::String>
139 template<
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
140 void SetPolicyArns(PolicyArnsT&& value) { m_policyArnsHasBeenSet =
true; m_policyArns = std::forward<PolicyArnsT>(value); }
141 template<
typename PolicyArnsT = Aws::Vector<PolicyDescriptorType>>
143 template<
typename PolicyArnsT = PolicyDescriptorType>
158 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
191 template<
typename TagsT = Aws::Vector<Tag>>
192 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
193 template<
typename TagsT = Aws::Vector<Tag>>
195 template<
typename TagsT = Tag>
201 bool m_nameHasBeenSet =
false;
204 bool m_policyHasBeenSet =
false;
207 bool m_policyArnsHasBeenSet =
false;
209 int m_durationSeconds{0};
210 bool m_durationSecondsHasBeenSet =
false;
213 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