AWS SDK for C++  1.9.104
AWS SDK for C++
GetAccessKeyInfoResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sts/STS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace STS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetAccount() const{ return m_account; }
40 
44  inline void SetAccount(const Aws::String& value) { m_account = value; }
45 
49  inline void SetAccount(Aws::String&& value) { m_account = std::move(value); }
50 
54  inline void SetAccount(const char* value) { m_account.assign(value); }
55 
59  inline GetAccessKeyInfoResult& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
60 
64  inline GetAccessKeyInfoResult& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
65 
69  inline GetAccessKeyInfoResult& WithAccount(const char* value) { SetAccount(value); return *this;}
70 
71 
72 
73  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 
75 
76  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
77 
78 
79  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 
81 
82  inline GetAccessKeyInfoResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
83 
84 
85  inline GetAccessKeyInfoResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
86 
87  private:
88 
89  Aws::String m_account;
90 
91  ResponseMetadata m_responseMetadata;
92  };
93 
94 } // namespace Model
95 } // namespace STS
96 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::STS::Model::GetAccessKeyInfoResult::GetAccessKeyInfoResult
GetAccessKeyInfoResult()
Aws::STS::Model::GetAccessKeyInfoResult::SetAccount
void SetAccount(Aws::String &&value)
Definition: GetAccessKeyInfoResult.h:49
Aws::STS::Model::GetAccessKeyInfoResult::WithAccount
GetAccessKeyInfoResult & WithAccount(const Aws::String &value)
Definition: GetAccessKeyInfoResult.h:59
Aws::STS::Model::GetAccessKeyInfoResult::WithAccount
GetAccessKeyInfoResult & WithAccount(Aws::String &&value)
Definition: GetAccessKeyInfoResult.h:64
Aws::STS::Model::GetAccessKeyInfoResult::WithAccount
GetAccessKeyInfoResult & WithAccount(const char *value)
Definition: GetAccessKeyInfoResult.h:69
Aws::STS::Model::GetAccessKeyInfoResult::GetAccessKeyInfoResult
GetAccessKeyInfoResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_STS_API
#define AWS_STS_API
Definition: STS_EXPORTS.h:28
Aws::STS::Model::GetAccessKeyInfoResult::SetAccount
void SetAccount(const Aws::String &value)
Definition: GetAccessKeyInfoResult.h:44
Aws::STS::Model::GetAccessKeyInfoResult::SetAccount
void SetAccount(const char *value)
Definition: GetAccessKeyInfoResult.h:54
Aws::STS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::STS::Model::GetAccessKeyInfoResult::GetAccount
const Aws::String & GetAccount() const
Definition: GetAccessKeyInfoResult.h:39
Aws::STS::Model::GetAccessKeyInfoResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetAccessKeyInfoResult.h:73
ResponseMetadata.h
STS_EXPORTS.h
Aws::STS::Model::GetAccessKeyInfoResult::WithResponseMetadata
GetAccessKeyInfoResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetAccessKeyInfoResult.h:85
AWSString.h
Aws::STS::Model::GetAccessKeyInfoResult
Definition: GetAccessKeyInfoResult.h:29
Aws::STS::Model::GetAccessKeyInfoResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetAccessKeyInfoResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::STS::Model::GetAccessKeyInfoResult::operator=
GetAccessKeyInfoResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::STS::Model::GetAccessKeyInfoResult::WithResponseMetadata
GetAccessKeyInfoResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetAccessKeyInfoResult.h:82
Aws::STS::Model::GetAccessKeyInfoResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetAccessKeyInfoResult.h:79