AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListAttributesResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECS
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
41
45 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributes = value; }
46
50 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributes = std::move(value); }
51
55 inline ListAttributesResult& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
56
60 inline ListAttributesResult& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
61
65 inline ListAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; }
66
70 inline ListAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
71
72
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81
89 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90
98 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99
107 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108
116 inline ListAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117
125 inline ListAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126
134 inline ListAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135
136 private:
137
138 Aws::Vector<Attribute> m_attributes;
139
140 Aws::String m_nextToken;
141 };
142
143} // namespace Model
144} // namespace ECS
145} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetNextToken(const Aws::String &value)
void SetAttributes(Aws::Vector< Attribute > &&value)
ListAttributesResult & WithNextToken(const Aws::String &value)
const Aws::Vector< Attribute > & GetAttributes() const
ListAttributesResult & WithNextToken(Aws::String &&value)
ListAttributesResult & AddAttributes(Attribute &&value)
void SetAttributes(const Aws::Vector< Attribute > &value)
ListAttributesResult & WithNextToken(const char *value)
const Aws::String & GetNextToken() const
ListAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
AWS_ECS_API ListAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
ListAttributesResult & AddAttributes(const Attribute &value)
AWS_ECS_API ListAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector