AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListAssociatedStacksResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppStream
25{
26namespace Model
27{
29 {
30 public:
34
35
39 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
40
44 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_names = value; }
45
49 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_names = std::move(value); }
50
54 inline ListAssociatedStacksResult& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
55
59 inline ListAssociatedStacksResult& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
60
64 inline ListAssociatedStacksResult& AddNames(const Aws::String& value) { m_names.push_back(value); return *this; }
65
69 inline ListAssociatedStacksResult& AddNames(Aws::String&& value) { m_names.push_back(std::move(value)); return *this; }
70
74 inline ListAssociatedStacksResult& AddNames(const char* value) { m_names.push_back(value); return *this; }
75
76
81 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82
87 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88
93 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94
99 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100
105 inline ListAssociatedStacksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106
111 inline ListAssociatedStacksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112
117 inline ListAssociatedStacksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118
119 private:
120
122
123 Aws::String m_nextToken;
124 };
125
126} // namespace Model
127} // namespace AppStream
128} // namespace Aws
#define AWS_APPSTREAM_API
ListAssociatedStacksResult & WithNextToken(const Aws::String &value)
ListAssociatedStacksResult & WithNames(Aws::Vector< Aws::String > &&value)
ListAssociatedStacksResult & WithNextToken(const char *value)
ListAssociatedStacksResult & WithNextToken(Aws::String &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
ListAssociatedStacksResult & AddNames(const char *value)
AWS_APPSTREAM_API ListAssociatedStacksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetNames() const
AWS_APPSTREAM_API ListAssociatedStacksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAssociatedStacksResult & WithNames(const Aws::Vector< Aws::String > &value)
ListAssociatedStacksResult & AddNames(Aws::String &&value)
void SetNames(Aws::Vector< Aws::String > &&value)
ListAssociatedStacksResult & AddNames(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector