AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAccountAliasesResult.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 <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 IAM
26{
27namespace Model
28{
36 {
37 public:
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAccountAliases() const{ return m_accountAliases; }
49 inline void SetAccountAliases(const Aws::Vector<Aws::String>& value) { m_accountAliases = value; }
50 inline void SetAccountAliases(Aws::Vector<Aws::String>&& value) { m_accountAliases = std::move(value); }
53 inline ListAccountAliasesResult& AddAccountAliases(const Aws::String& value) { m_accountAliases.push_back(value); return *this; }
54 inline ListAccountAliasesResult& AddAccountAliases(Aws::String&& value) { m_accountAliases.push_back(std::move(value)); return *this; }
55 inline ListAccountAliasesResult& AddAccountAliases(const char* value) { m_accountAliases.push_back(value); return *this; }
57
59
68 inline bool GetIsTruncated() const{ return m_isTruncated; }
69 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
70 inline ListAccountAliasesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
72
74
79 inline const Aws::String& GetMarker() const{ return m_marker; }
80 inline void SetMarker(const Aws::String& value) { m_marker = value; }
81 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
82 inline void SetMarker(const char* value) { m_marker.assign(value); }
83 inline ListAccountAliasesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
84 inline ListAccountAliasesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 inline ListAccountAliasesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
87
89
90 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
91 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
92 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
94 inline ListAccountAliasesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
96 private:
97
98 Aws::Vector<Aws::String> m_accountAliases;
99
100 bool m_isTruncated;
101
102 Aws::String m_marker;
103
104 ResponseMetadata m_responseMetadata;
105 };
106
107} // namespace Model
108} // namespace IAM
109} // namespace Aws
ListAccountAliasesResult & WithIsTruncated(bool value)
AWS_IAM_API ListAccountAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API ListAccountAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListAccountAliasesResult & WithAccountAliases(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(const ResponseMetadata &value)
ListAccountAliasesResult & WithMarker(Aws::String &&value)
void SetAccountAliases(Aws::Vector< Aws::String > &&value)
ListAccountAliasesResult & WithMarker(const char *value)
ListAccountAliasesResult & WithMarker(const Aws::String &value)
void SetAccountAliases(const Aws::Vector< Aws::String > &value)
ListAccountAliasesResult & AddAccountAliases(const char *value)
ListAccountAliasesResult & WithResponseMetadata(const ResponseMetadata &value)
ListAccountAliasesResult & WithResponseMetadata(ResponseMetadata &&value)
ListAccountAliasesResult & AddAccountAliases(Aws::String &&value)
ListAccountAliasesResult & WithAccountAliases(Aws::Vector< Aws::String > &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< Aws::String > & GetAccountAliases() const
ListAccountAliasesResult & AddAccountAliases(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&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