AWS SDK for C++  1.9.130
AWS SDK for C++
ListRoleAliasesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_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 Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetRoleAliases() const{ return m_roleAliases; }
40 
44  inline void SetRoleAliases(const Aws::Vector<Aws::String>& value) { m_roleAliases = value; }
45 
49  inline void SetRoleAliases(Aws::Vector<Aws::String>&& value) { m_roleAliases = std::move(value); }
50 
54  inline ListRoleAliasesResult& WithRoleAliases(const Aws::Vector<Aws::String>& value) { SetRoleAliases(value); return *this;}
55 
59  inline ListRoleAliasesResult& WithRoleAliases(Aws::Vector<Aws::String>&& value) { SetRoleAliases(std::move(value)); return *this;}
60 
64  inline ListRoleAliasesResult& AddRoleAliases(const Aws::String& value) { m_roleAliases.push_back(value); return *this; }
65 
69  inline ListRoleAliasesResult& AddRoleAliases(Aws::String&& value) { m_roleAliases.push_back(std::move(value)); return *this; }
70 
74  inline ListRoleAliasesResult& AddRoleAliases(const char* value) { m_roleAliases.push_back(value); return *this; }
75 
76 
80  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
81 
85  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
86 
90  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
91 
95  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
96 
100  inline ListRoleAliasesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
101 
105  inline ListRoleAliasesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
106 
110  inline ListRoleAliasesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
111 
112  private:
113 
114  Aws::Vector<Aws::String> m_roleAliases;
115 
116  Aws::String m_nextMarker;
117  };
118 
119 } // namespace Model
120 } // namespace IoT
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListRoleAliasesResult::WithNextMarker
ListRoleAliasesResult & WithNextMarker(const char *value)
Definition: ListRoleAliasesResult.h:110
Aws::IoT::Model::ListRoleAliasesResult::WithRoleAliases
ListRoleAliasesResult & WithRoleAliases(Aws::Vector< Aws::String > &&value)
Definition: ListRoleAliasesResult.h:59
Aws::IoT::Model::ListRoleAliasesResult::WithNextMarker
ListRoleAliasesResult & WithNextMarker(const Aws::String &value)
Definition: ListRoleAliasesResult.h:100
Aws::IoT::Model::ListRoleAliasesResult::AddRoleAliases
ListRoleAliasesResult & AddRoleAliases(Aws::String &&value)
Definition: ListRoleAliasesResult.h:69
Aws::IoT::Model::ListRoleAliasesResult::ListRoleAliasesResult
ListRoleAliasesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListRoleAliasesResult::operator=
ListRoleAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListRoleAliasesResult::AddRoleAliases
ListRoleAliasesResult & AddRoleAliases(const Aws::String &value)
Definition: ListRoleAliasesResult.h:64
AWSVector.h
Aws::IoT::Model::ListRoleAliasesResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListRoleAliasesResult.h:85
Aws::IoT::Model::ListRoleAliasesResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListRoleAliasesResult.h:90
Aws::IoT::Model::ListRoleAliasesResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListRoleAliasesResult.h:95
AWSString.h
Aws::IoT::Model::ListRoleAliasesResult::WithRoleAliases
ListRoleAliasesResult & WithRoleAliases(const Aws::Vector< Aws::String > &value)
Definition: ListRoleAliasesResult.h:54
Aws::IoT::Model::ListRoleAliasesResult::ListRoleAliasesResult
ListRoleAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListRoleAliasesResult::AddRoleAliases
ListRoleAliasesResult & AddRoleAliases(const char *value)
Definition: ListRoleAliasesResult.h:74
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListRoleAliasesResult::SetRoleAliases
void SetRoleAliases(Aws::Vector< Aws::String > &&value)
Definition: ListRoleAliasesResult.h:49
Aws::IoT::Model::ListRoleAliasesResult::SetRoleAliases
void SetRoleAliases(const Aws::Vector< Aws::String > &value)
Definition: ListRoleAliasesResult.h:44
Aws::IoT::Model::ListRoleAliasesResult::WithNextMarker
ListRoleAliasesResult & WithNextMarker(Aws::String &&value)
Definition: ListRoleAliasesResult.h:105
Aws::IoT::Model::ListRoleAliasesResult::GetRoleAliases
const Aws::Vector< Aws::String > & GetRoleAliases() const
Definition: ListRoleAliasesResult.h:39
Aws::IoT::Model::ListRoleAliasesResult
Definition: ListRoleAliasesResult.h:29
Aws::IoT::Model::ListRoleAliasesResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListRoleAliasesResult.h:80
IoT_EXPORTS.h