AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListFleetsRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/FleetStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace deadline
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DEADLINE_API ListFleetsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListFleets"; }
36
37 AWS_DEADLINE_API Aws::String SerializePayload() const override;
38
39 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetFarmId() const { return m_farmId; }
47 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
48 template<typename FarmIdT = Aws::String>
49 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet = true; m_farmId = std::forward<FarmIdT>(value); }
50 template<typename FarmIdT = Aws::String>
51 ListFleetsRequest& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
59 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
60 template<typename PrincipalIdT = Aws::String>
61 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet = true; m_principalId = std::forward<PrincipalIdT>(value); }
62 template<typename PrincipalIdT = Aws::String>
63 ListFleetsRequest& WithPrincipalId(PrincipalIdT&& value) { SetPrincipalId(std::forward<PrincipalIdT>(value)); return *this;}
65
67
73 inline const Aws::String& GetDisplayName() const { return m_displayName; }
74 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
75 template<typename DisplayNameT = Aws::String>
76 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
77 template<typename DisplayNameT = Aws::String>
78 ListFleetsRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
80
82
85 inline FleetStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(FleetStatus value) { m_statusHasBeenSet = true; m_status = value; }
88 inline ListFleetsRequest& WithStatus(FleetStatus value) { SetStatus(value); return *this;}
90
92
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template<typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
100 template<typename NextTokenT = Aws::String>
101 ListFleetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
103
105
109 inline int GetMaxResults() const { return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114 private:
115
116 Aws::String m_farmId;
117 bool m_farmIdHasBeenSet = false;
118
119 Aws::String m_principalId;
120 bool m_principalIdHasBeenSet = false;
121
122 Aws::String m_displayName;
123 bool m_displayNameHasBeenSet = false;
124
126 bool m_statusHasBeenSet = false;
127
128 Aws::String m_nextToken;
129 bool m_nextTokenHasBeenSet = false;
130
131 int m_maxResults{0};
132 bool m_maxResultsHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace deadline
137} // namespace Aws
ListFleetsRequest & WithNextToken(NextTokenT &&value)
ListFleetsRequest & WithPrincipalId(PrincipalIdT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetNextToken() const
ListFleetsRequest & WithStatus(FleetStatus value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
ListFleetsRequest & WithFarmId(FarmIdT &&value)
void SetPrincipalId(PrincipalIdT &&value)
const Aws::String & GetFarmId() const
ListFleetsRequest & WithMaxResults(int value)
const Aws::String & GetPrincipalId() const
ListFleetsRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_DEADLINE_API ListFleetsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String