7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sts/STSRequest.h>
9#include <aws/sts/STS_EXPORTS.h>
56 template <
typename PolicyT = Aws::String>
58 m_policyHasBeenSet =
true;
59 m_policy = std::forward<PolicyT>(value);
61 template <
typename PolicyT = Aws::String>
78 m_durationSecondsHasBeenSet =
true;
79 m_durationSeconds = value;
92 m_minimumSessionTokenSizeHasBeenSet =
true;
93 m_minimumSessionTokenSize = value;
109 template <
typename ScopedSessionDescriptionT = Aws::String>
111 m_scopedSessionDescriptionHasBeenSet =
true;
112 m_scopedSessionDescription = std::forward<ScopedSessionDescriptionT>(value);
114 template <
typename ScopedSessionDescriptionT = Aws::String>
123 int m_durationSeconds{0};
125 int m_minimumSessionTokenSize{0};
128 bool m_policyHasBeenSet =
false;
129 bool m_durationSecondsHasBeenSet =
false;
130 bool m_minimumSessionTokenSizeHasBeenSet =
false;
131 bool m_scopedSessionDescriptionHasBeenSet =
false;
AWS_STS_API Aws::String SerializePayload() const override
bool MinimumSessionTokenSizeHasBeenSet() const
int GetMinimumSessionTokenSize() const
const Aws::String & GetScopedSessionDescription() const
AWS_STS_API GetScopedCredentialsRequest()=default
GetScopedCredentialsRequest & WithScopedSessionDescription(ScopedSessionDescriptionT &&value)
int GetDurationSeconds() const
const Aws::String & GetPolicy() const
void SetMinimumSessionTokenSize(int value)
void SetScopedSessionDescription(ScopedSessionDescriptionT &&value)
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPolicy(PolicyT &&value)
bool ScopedSessionDescriptionHasBeenSet() const
bool DurationSecondsHasBeenSet() const
void SetDurationSeconds(int value)
bool PolicyHasBeenSet() const
GetScopedCredentialsRequest & WithPolicy(PolicyT &&value)
GetScopedCredentialsRequest & WithDurationSeconds(int value)
GetScopedCredentialsRequest & WithMinimumSessionTokenSize(int value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String