AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeFleetsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppStream {
16namespace Model {
17
21 public:
22 AWS_APPSTREAM_API DescribeFleetsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeFleets"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
39 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
40 template <typename NamesT = Aws::Vector<Aws::String>>
41 void SetNames(NamesT&& value) {
42 m_namesHasBeenSet = true;
43 m_names = std::forward<NamesT>(value);
44 }
45 template <typename NamesT = Aws::Vector<Aws::String>>
47 SetNames(std::forward<NamesT>(value));
48 return *this;
49 }
50 template <typename NamesT = Aws::String>
52 m_namesHasBeenSet = true;
53 m_names.emplace_back(std::forward<NamesT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
71 DescribeFleetsRequest& WithNextToken(NextTokenT&& value) {
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76 private:
78 bool m_namesHasBeenSet = false;
79
80 Aws::String m_nextToken;
81 bool m_nextTokenHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace AppStream
86} // namespace Aws
const Aws::Vector< Aws::String > & GetNames() const
virtual const char * GetServiceRequestName() const override
DescribeFleetsRequest & WithNextToken(NextTokenT &&value)
DescribeFleetsRequest & WithNames(NamesT &&value)
DescribeFleetsRequest & AddNames(NamesT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
AWS_APPSTREAM_API DescribeFleetsRequest()=default
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