7#include <aws/core/http/HttpResponse.h>
8#include <aws/sts/STS_EXPORTS.h>
9#include <aws/sts/model/Credentials.h>
10#include <aws/sts/model/ResponseMetadata.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
46 template <
typename CredentialsT = Credentials>
48 m_credentialsHasBeenSet =
true;
49 m_credentials = std::forward<CredentialsT>(value);
51 template <
typename CredentialsT = Credentials>
61 template <
typename ResponseMetadataT = ResponseMetadata>
63 m_responseMetadataHasBeenSet =
true;
64 m_responseMetadata = std::forward<ResponseMetadataT>(value);
66 template <
typename ResponseMetadataT = ResponseMetadata>
79 bool m_credentialsHasBeenSet =
false;
80 bool m_responseMetadataHasBeenSet =
false;
GetSessionTokenResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_STS_API GetSessionTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_STS_API GetSessionTokenResult()=default
GetSessionTokenResult & WithCredentials(CredentialsT &&value)
const ResponseMetadata & GetResponseMetadata() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_STS_API GetSessionTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Credentials & GetCredentials() const
void SetCredentials(CredentialsT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument