AWS SDK for C++  1.9.104
AWS SDK for C++
GetFederationTokenResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sts/STS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace STS
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
50  inline const Credentials& GetCredentials() const{ return m_credentials; }
51 
58  inline void SetCredentials(const Credentials& value) { m_credentials = value; }
59 
66  inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
67 
74  inline GetFederationTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
75 
82  inline GetFederationTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
83 
84 
91  inline const FederatedUser& GetFederatedUser() const{ return m_federatedUser; }
92 
99  inline void SetFederatedUser(const FederatedUser& value) { m_federatedUser = value; }
100 
107  inline void SetFederatedUser(FederatedUser&& value) { m_federatedUser = std::move(value); }
108 
115  inline GetFederationTokenResult& WithFederatedUser(const FederatedUser& value) { SetFederatedUser(value); return *this;}
116 
123  inline GetFederationTokenResult& WithFederatedUser(FederatedUser&& value) { SetFederatedUser(std::move(value)); return *this;}
124 
125 
132  inline int GetPackedPolicySize() const{ return m_packedPolicySize; }
133 
140  inline void SetPackedPolicySize(int value) { m_packedPolicySize = value; }
141 
148  inline GetFederationTokenResult& WithPackedPolicySize(int value) { SetPackedPolicySize(value); return *this;}
149 
150 
151 
152  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
153 
154 
155  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
156 
157 
158  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
159 
160 
161  inline GetFederationTokenResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
162 
163 
164  inline GetFederationTokenResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
165 
166  private:
167 
168  Credentials m_credentials;
169 
170  FederatedUser m_federatedUser;
171 
172  int m_packedPolicySize;
173 
174  ResponseMetadata m_responseMetadata;
175  };
176 
177 } // namespace Model
178 } // namespace STS
179 } // namespace Aws
Aws::STS::Model::Credentials
Definition: Credentials.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::STS::Model::GetFederationTokenResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetFederationTokenResult.h:152
Credentials.h
AWS_STS_API
#define AWS_STS_API
Definition: STS_EXPORTS.h:28
Aws::STS::Model::GetFederationTokenResult::WithPackedPolicySize
GetFederationTokenResult & WithPackedPolicySize(int value)
Definition: GetFederationTokenResult.h:148
Aws::STS::Model::GetFederationTokenResult::SetCredentials
void SetCredentials(Credentials &&value)
Definition: GetFederationTokenResult.h:66
Aws::STS::Model::GetFederationTokenResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetFederationTokenResult.h:158
Aws::STS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::STS::Model::GetFederationTokenResult::SetFederatedUser
void SetFederatedUser(const FederatedUser &value)
Definition: GetFederationTokenResult.h:99
ResponseMetadata.h
Aws::STS::Model::GetFederationTokenResult
Definition: GetFederationTokenResult.h:37
Aws::STS::Model::GetFederationTokenResult::operator=
GetFederationTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
STS_EXPORTS.h
Aws::STS::Model::GetFederationTokenResult::WithResponseMetadata
GetFederationTokenResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetFederationTokenResult.h:161
Aws::STS::Model::GetFederationTokenResult::WithResponseMetadata
GetFederationTokenResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetFederationTokenResult.h:164
Aws::STS::Model::GetFederationTokenResult::GetFederatedUser
const FederatedUser & GetFederatedUser() const
Definition: GetFederationTokenResult.h:91
Aws::STS::Model::GetFederationTokenResult::GetFederationTokenResult
GetFederationTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::STS::Model::GetFederationTokenResult::GetPackedPolicySize
int GetPackedPolicySize() const
Definition: GetFederationTokenResult.h:132
Aws::STS::Model::GetFederationTokenResult::SetPackedPolicySize
void SetPackedPolicySize(int value)
Definition: GetFederationTokenResult.h:140
Aws::STS::Model::FederatedUser
Definition: FederatedUser.h:33
FederatedUser.h
Aws::STS::Model::GetFederationTokenResult::WithCredentials
GetFederationTokenResult & WithCredentials(Credentials &&value)
Definition: GetFederationTokenResult.h:82
Aws::STS::Model::GetFederationTokenResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetFederationTokenResult.h:155
Aws
Definition: AccessManagementClient.h:15
Aws::STS::Model::GetFederationTokenResult::WithFederatedUser
GetFederationTokenResult & WithFederatedUser(FederatedUser &&value)
Definition: GetFederationTokenResult.h:123
Aws::STS::Model::GetFederationTokenResult::SetFederatedUser
void SetFederatedUser(FederatedUser &&value)
Definition: GetFederationTokenResult.h:107
Aws::STS::Model::GetFederationTokenResult::WithCredentials
GetFederationTokenResult & WithCredentials(const Credentials &value)
Definition: GetFederationTokenResult.h:74
Aws::STS::Model::GetFederationTokenResult::SetCredentials
void SetCredentials(const Credentials &value)
Definition: GetFederationTokenResult.h:58
Aws::STS::Model::GetFederationTokenResult::GetFederationTokenResult
GetFederationTokenResult()
Aws::STS::Model::GetFederationTokenResult::WithFederatedUser
GetFederationTokenResult & WithFederatedUser(const FederatedUser &value)
Definition: GetFederationTokenResult.h:115
Aws::STS::Model::GetFederationTokenResult::GetCredentials
const Credentials & GetCredentials() const
Definition: GetFederationTokenResult.h:50