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>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
99 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
162 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
205 bool m_nameHasBeenSet =
false;
208 bool m_policyHasBeenSet =
false;
211 bool m_policyArnsHasBeenSet =
false;
213 int m_durationSeconds;
214 bool m_durationSecondsHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
GetFederationTokenRequest & WithPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PolicyDescriptorType > & GetPolicyArns() const
bool PolicyHasBeenSet() const
void SetPolicy(const char *value)
const Aws::String & GetPolicy() const
void SetName(const char *value)
bool PolicyArnsHasBeenSet() const
bool DurationSecondsHasBeenSet() const
void SetPolicy(const Aws::String &value)
GetFederationTokenRequest & WithTags(const Aws::Vector< Tag > &value)
void SetName(Aws::String &&value)
GetFederationTokenRequest & WithName(const Aws::String &value)
GetFederationTokenRequest & WithPolicy(const char *value)
int GetDurationSeconds() const
AWS_STS_API GetFederationTokenRequest()
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPolicyArns(const Aws::Vector< PolicyDescriptorType > &value)
GetFederationTokenRequest & AddTags(const Tag &value)
void SetPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
GetFederationTokenRequest & WithName(Aws::String &&value)
GetFederationTokenRequest & AddPolicyArns(const PolicyDescriptorType &value)
GetFederationTokenRequest & AddTags(Tag &&value)
GetFederationTokenRequest & WithDurationSeconds(int value)
void SetDurationSeconds(int value)
GetFederationTokenRequest & WithTags(Aws::Vector< Tag > &&value)
void SetName(const Aws::String &value)
bool TagsHasBeenSet() const
GetFederationTokenRequest & WithPolicy(const Aws::String &value)
GetFederationTokenRequest & WithPolicy(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
GetFederationTokenRequest & WithPolicyArns(Aws::Vector< PolicyDescriptorType > &&value)
GetFederationTokenRequest & AddPolicyArns(PolicyDescriptorType &&value)
void SetPolicy(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_STS_API Aws::String SerializePayload() const override
GetFederationTokenRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector