AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListAssociatedFleetsResult.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 ListAssociatedFleetsResult& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
55
59 inline ListAssociatedFleetsResult& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
60
64 inline ListAssociatedFleetsResult& AddNames(const Aws::String& value) { m_names.push_back(value); return *this; }
65
69 inline ListAssociatedFleetsResult& AddNames(Aws::String&& value) { m_names.push_back(std::move(value)); return *this; }
70
74 inline ListAssociatedFleetsResult& 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 ListAssociatedFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106
111 inline ListAssociatedFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112
117 inline ListAssociatedFleetsResult& 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
ListAssociatedFleetsResult & WithNextToken(const char *value)
ListAssociatedFleetsResult & AddNames(Aws::String &&value)
AWS_APPSTREAM_API ListAssociatedFleetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNames(Aws::Vector< Aws::String > &&value)
ListAssociatedFleetsResult & AddNames(const char *value)
void SetNames(const Aws::Vector< Aws::String > &value)
ListAssociatedFleetsResult & WithNextToken(const Aws::String &value)
ListAssociatedFleetsResult & WithNextToken(Aws::String &&value)
AWS_APPSTREAM_API ListAssociatedFleetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAssociatedFleetsResult & WithNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNames() const
ListAssociatedFleetsResult & WithNames(const Aws::Vector< Aws::String > &value)
ListAssociatedFleetsResult & AddNames(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector