7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/sts/model/Credentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sts/model/ResponseMetadata.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
45 template<
typename CredentialsT = Credentials>
46 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
47 template<
typename CredentialsT = Credentials>
66 template<
typename SourceIdentityT = Aws::String>
67 void SetSourceIdentity(SourceIdentityT&& value) { m_sourceIdentityHasBeenSet =
true; m_sourceIdentity = std::forward<SourceIdentityT>(value); }
68 template<
typename SourceIdentityT = Aws::String>
75 template<
typename ResponseMetadataT = ResponseMetadata>
76 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
77 template<
typename ResponseMetadataT = ResponseMetadata>
83 bool m_credentialsHasBeenSet =
false;
86 bool m_sourceIdentityHasBeenSet =
false;
89 bool m_responseMetadataHasBeenSet =
false;
const ResponseMetadata & GetResponseMetadata() const
AWS_STS_API AssumeRootResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssumeRootResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_STS_API AssumeRootResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_STS_API AssumeRootResult()=default
void SetCredentials(CredentialsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetSourceIdentity(SourceIdentityT &&value)
AssumeRootResult & WithCredentials(CredentialsT &&value)
const Credentials & GetCredentials() const
AssumeRootResult & WithSourceIdentity(SourceIdentityT &&value)
const Aws::String & GetSourceIdentity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument