AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeFleetsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeFleets"; }
32
34
36
37
41 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
42
46 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
47
51 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
52
56 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
57
61 inline DescribeFleetsRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
62
66 inline DescribeFleetsRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
67
71 inline DescribeFleetsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
72
76 inline DescribeFleetsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
77
81 inline DescribeFleetsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
82
83
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101
106 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
107
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113
118 inline DescribeFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119
124 inline DescribeFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
125
130 inline DescribeFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131
132 private:
133
135 bool m_namesHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace AppStream
143} // namespace Aws
#define AWS_APPSTREAM_API
DescribeFleetsRequest & WithNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNames() const
DescribeFleetsRequest & AddNames(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeFleetsRequest & WithNextToken(const Aws::String &value)
DescribeFleetsRequest & AddNames(const char *value)
DescribeFleetsRequest & WithNextToken(const char *value)
DescribeFleetsRequest & WithNames(const Aws::Vector< Aws::String > &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
void SetNames(Aws::Vector< Aws::String > &&value)
DescribeFleetsRequest & WithNextToken(Aws::String &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
DescribeFleetsRequest & AddNames(Aws::String &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector