AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeApplicationFleetAssociationsRequest.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
11#include <utility>
12
13namespace Aws {
14namespace AppStream {
15namespace Model {
16
20 public:
21 AWS_APPSTREAM_API DescribeApplicationFleetAssociationsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeApplicationFleetAssociations"; }
28
29 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetFleetName() const { return m_fleetName; }
38 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
39 template <typename FleetNameT = Aws::String>
40 void SetFleetName(FleetNameT&& value) {
41 m_fleetNameHasBeenSet = true;
42 m_fleetName = std::forward<FleetNameT>(value);
43 }
44 template <typename FleetNameT = Aws::String>
46 SetFleetName(std::forward<FleetNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
56 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
57 template <typename ApplicationArnT = Aws::String>
58 void SetApplicationArn(ApplicationArnT&& value) {
59 m_applicationArnHasBeenSet = true;
60 m_applicationArn = std::forward<ApplicationArnT>(value);
61 }
62 template <typename ApplicationArnT = Aws::String>
64 SetApplicationArn(std::forward<ApplicationArnT>(value));
65 return *this;
66 }
68
70
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) {
76 m_maxResultsHasBeenSet = true;
77 m_maxResults = value;
78 }
80 SetMaxResults(value);
81 return *this;
82 }
84
86
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 template <typename NextTokenT = Aws::String>
93 void SetNextToken(NextTokenT&& value) {
94 m_nextTokenHasBeenSet = true;
95 m_nextToken = std::forward<NextTokenT>(value);
96 }
97 template <typename NextTokenT = Aws::String>
99 SetNextToken(std::forward<NextTokenT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_fleetName;
105
106 Aws::String m_applicationArn;
107
108 int m_maxResults{0};
109
110 Aws::String m_nextToken;
111 bool m_fleetNameHasBeenSet = false;
112 bool m_applicationArnHasBeenSet = false;
113 bool m_maxResultsHasBeenSet = false;
114 bool m_nextTokenHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace AppStream
119} // namespace Aws
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeApplicationFleetAssociationsRequest & WithNextToken(NextTokenT &&value)
DescribeApplicationFleetAssociationsRequest & WithFleetName(FleetNameT &&value)
DescribeApplicationFleetAssociationsRequest & WithApplicationArn(ApplicationArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String