7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sts/STSRequest.h>
9#include <aws/sts/STS_EXPORTS.h>
47 m_durationSecondsHasBeenSet =
true;
48 m_durationSeconds = value;
72 template <
typename SerialNumberT = Aws::String>
74 m_serialNumberHasBeenSet =
true;
75 m_serialNumber = std::forward<SerialNumberT>(value);
77 template <
typename SerialNumberT = Aws::String>
96 template <
typename TokenCodeT = Aws::String>
98 m_tokenCodeHasBeenSet =
true;
99 m_tokenCode = std::forward<TokenCodeT>(value);
101 template <
typename TokenCodeT = Aws::String>
108 int m_durationSeconds{0};
113 bool m_durationSecondsHasBeenSet =
false;
114 bool m_serialNumberHasBeenSet =
false;
115 bool m_tokenCodeHasBeenSet =
false;
void SetSerialNumber(SerialNumberT &&value)
GetSessionTokenRequest & WithTokenCode(TokenCodeT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTokenCode() const
bool SerialNumberHasBeenSet() const
GetSessionTokenRequest & WithSerialNumber(SerialNumberT &&value)
void SetTokenCode(TokenCodeT &&value)
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDurationSeconds(int value)
const Aws::String & GetSerialNumber() const
bool DurationSecondsHasBeenSet() const
GetSessionTokenRequest & WithDurationSeconds(int value)
AWS_STS_API Aws::String SerializePayload() const override
bool TokenCodeHasBeenSet() const
int GetDurationSeconds() const
AWS_STS_API GetSessionTokenRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String