AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSessionTokenResult.h
1
6#pragma once
7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/sts/model/Credentials.h>
9#include <aws/sts/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace STS
25{
26namespace Model
27{
36 {
37 public:
38 AWS_STS_API GetSessionTokenResult();
41
42
44
50 inline const Credentials& GetCredentials() const{ return m_credentials; }
51 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
52 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
53 inline GetSessionTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
54 inline GetSessionTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline GetSessionTokenResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
67 Credentials m_credentials;
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace STS
74} // namespace Aws
AWS_STS_API GetSessionTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadata &&value)
GetSessionTokenResult & WithResponseMetadata(ResponseMetadata &&value)
GetSessionTokenResult & WithCredentials(const Credentials &value)
AWS_STS_API GetSessionTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
GetSessionTokenResult & WithResponseMetadata(const ResponseMetadata &value)
GetSessionTokenResult & WithCredentials(Credentials &&value)
void SetCredentials(const Credentials &value)
Aws::Utils::Xml::XmlDocument XmlDocument