AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFederationTokenResult.h
1
6#pragma once
7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/sts/model/Credentials.h>
9#include <aws/sts/model/FederatedUser.h>
10#include <aws/sts/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace STS
26{
27namespace Model
28{
37 {
38 public:
42
43
45
51 inline const Credentials& GetCredentials() const{ return m_credentials; }
52 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
53 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
54 inline GetFederationTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
55 inline GetFederationTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
57
59
65 inline const FederatedUser& GetFederatedUser() const{ return m_federatedUser; }
66 inline void SetFederatedUser(const FederatedUser& value) { m_federatedUser = value; }
67 inline void SetFederatedUser(FederatedUser&& value) { m_federatedUser = std::move(value); }
68 inline GetFederationTokenResult& WithFederatedUser(const FederatedUser& value) { SetFederatedUser(value); return *this;}
69 inline GetFederationTokenResult& WithFederatedUser(FederatedUser&& value) { SetFederatedUser(std::move(value)); return *this;}
71
73
79 inline int GetPackedPolicySize() const{ return m_packedPolicySize; }
80 inline void SetPackedPolicySize(int value) { m_packedPolicySize = value; }
81 inline GetFederationTokenResult& WithPackedPolicySize(int value) { SetPackedPolicySize(value); return *this;}
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
87 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
88 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
90 inline GetFederationTokenResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 private:
93
94 Credentials m_credentials;
95
96 FederatedUser m_federatedUser;
97
98 int m_packedPolicySize;
99
100 ResponseMetadata m_responseMetadata;
101 };
102
103} // namespace Model
104} // namespace STS
105} // namespace Aws
GetFederationTokenResult & WithCredentials(Credentials &&value)
AWS_STS_API GetFederationTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetFederationTokenResult & WithPackedPolicySize(int value)
GetFederationTokenResult & WithCredentials(const Credentials &value)
GetFederationTokenResult & WithResponseMetadata(const ResponseMetadata &value)
GetFederationTokenResult & WithResponseMetadata(ResponseMetadata &&value)
GetFederationTokenResult & WithFederatedUser(FederatedUser &&value)
GetFederationTokenResult & WithFederatedUser(const FederatedUser &value)
AWS_STS_API GetFederationTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(const ResponseMetadata &value)
void SetFederatedUser(const FederatedUser &value)
void SetResponseMetadata(ResponseMetadata &&value)
Aws::Utils::Xml::XmlDocument XmlDocument