AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAccessKeysResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/ResponseMetadata.h>
11#include <aws/iam/model/AccessKeyMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
37 {
38 public:
39 AWS_IAM_API ListAccessKeysResult();
42
43
45
48 inline const Aws::Vector<AccessKeyMetadata>& GetAccessKeyMetadata() const{ return m_accessKeyMetadata; }
49 inline void SetAccessKeyMetadata(const Aws::Vector<AccessKeyMetadata>& value) { m_accessKeyMetadata = value; }
50 inline void SetAccessKeyMetadata(Aws::Vector<AccessKeyMetadata>&& value) { m_accessKeyMetadata = std::move(value); }
53 inline ListAccessKeysResult& AddAccessKeyMetadata(const AccessKeyMetadata& value) { m_accessKeyMetadata.push_back(value); return *this; }
54 inline ListAccessKeysResult& AddAccessKeyMetadata(AccessKeyMetadata&& value) { m_accessKeyMetadata.push_back(std::move(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline ListAccessKeysResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
71
73
78 inline const Aws::String& GetMarker() const{ return m_marker; }
79 inline void SetMarker(const Aws::String& value) { m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_marker.assign(value); }
82 inline ListAccessKeysResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline ListAccessKeysResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline ListAccessKeysResult& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
89 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
90 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
93 inline ListAccessKeysResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
95 private:
96
97 Aws::Vector<AccessKeyMetadata> m_accessKeyMetadata;
98
99 bool m_isTruncated;
100
101 Aws::String m_marker;
102
103 ResponseMetadata m_responseMetadata;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
void SetResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< AccessKeyMetadata > & GetAccessKeyMetadata() const
void SetResponseMetadata(const ResponseMetadata &value)
ListAccessKeysResult & WithAccessKeyMetadata(Aws::Vector< AccessKeyMetadata > &&value)
AWS_IAM_API ListAccessKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetMarker(const Aws::String &value)
void SetAccessKeyMetadata(const Aws::Vector< AccessKeyMetadata > &value)
ListAccessKeysResult & WithMarker(const char *value)
ListAccessKeysResult & WithAccessKeyMetadata(const Aws::Vector< AccessKeyMetadata > &value)
ListAccessKeysResult & WithResponseMetadata(ResponseMetadata &&value)
ListAccessKeysResult & WithIsTruncated(bool value)
ListAccessKeysResult & WithMarker(const Aws::String &value)
ListAccessKeysResult & AddAccessKeyMetadata(AccessKeyMetadata &&value)
ListAccessKeysResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API ListAccessKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListAccessKeysResult & WithMarker(Aws::String &&value)
ListAccessKeysResult & AddAccessKeyMetadata(const AccessKeyMetadata &value)
void SetAccessKeyMetadata(Aws::Vector< AccessKeyMetadata > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument