7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/sts/STSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
72 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
92 inline void SetTokenCode(
const char* value) { m_tokenCodeHasBeenSet =
true; m_tokenCode.assign(value); }
99 int m_durationSeconds;
100 bool m_durationSecondsHasBeenSet =
false;
103 bool m_serialNumberHasBeenSet =
false;
106 bool m_tokenCodeHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTokenCode() const
bool SerialNumberHasBeenSet() const
GetSessionTokenRequest & WithTokenCode(const char *value)
GetSessionTokenRequest & WithTokenCode(const Aws::String &value)
AWS_STS_API GetSessionTokenRequest()
AWS_STS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDurationSeconds(int value)
const Aws::String & GetSerialNumber() const
void SetSerialNumber(const Aws::String &value)
bool DurationSecondsHasBeenSet() const
void SetTokenCode(Aws::String &&value)
void SetSerialNumber(Aws::String &&value)
GetSessionTokenRequest & WithDurationSeconds(int value)
GetSessionTokenRequest & WithTokenCode(Aws::String &&value)
GetSessionTokenRequest & WithSerialNumber(Aws::String &&value)
void SetTokenCode(const char *value)
void SetTokenCode(const Aws::String &value)
void SetSerialNumber(const char *value)
AWS_STS_API Aws::String SerializePayload() const override
bool TokenCodeHasBeenSet() const
int GetDurationSeconds() const
GetSessionTokenRequest & WithSerialNumber(const char *value)
GetSessionTokenRequest & WithSerialNumber(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String