AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
49 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
50 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
51 inline ListFleetsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
52 inline ListFleetsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
53 inline ListFleetsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
55
57
60 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
61 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
62 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
63 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
64 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
65 inline ListFleetsRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
66 inline ListFleetsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
67 inline ListFleetsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
69
71
77 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
78 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
79 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
80 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
81 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
82 inline ListFleetsRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
83 inline ListFleetsRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
84 inline ListFleetsRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
86
88
91 inline const FleetStatus& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline ListFleetsRequest& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;}
96 inline ListFleetsRequest& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
108 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
109 inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
111 inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
113
115
119 inline int GetMaxResults() const{ return m_maxResults; }
120 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
121 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
122 inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
124 private:
125
126 Aws::String m_farmId;
127 bool m_farmIdHasBeenSet = false;
128
129 Aws::String m_principalId;
130 bool m_principalIdHasBeenSet = false;
131
132 Aws::String m_displayName;
133 bool m_displayNameHasBeenSet = false;
134
135 FleetStatus m_status;
136 bool m_statusHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 int m_maxResults;
142 bool m_maxResultsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace deadline
147} // namespace Aws
ListFleetsRequest & WithPrincipalId(const Aws::String &value)
void SetFarmId(const Aws::String &value)
ListFleetsRequest & WithDisplayName(const Aws::String &value)
const Aws::String & GetNextToken() const
AWS_DEADLINE_API Aws::String SerializePayload() const override
ListFleetsRequest & WithFarmId(Aws::String &&value)
ListFleetsRequest & WithFarmId(const char *value)
void SetNextToken(const Aws::String &value)
ListFleetsRequest & WithDisplayName(const char *value)
ListFleetsRequest & WithPrincipalId(const char *value)
ListFleetsRequest & WithStatus(FleetStatus &&value)
ListFleetsRequest & WithNextToken(const char *value)
const Aws::String & GetFarmId() const
ListFleetsRequest & WithMaxResults(int value)
const FleetStatus & GetStatus() const
const Aws::String & GetPrincipalId() const
ListFleetsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetDisplayName() const
ListFleetsRequest & WithDisplayName(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListFleetsRequest & WithNextToken(const Aws::String &value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetStatus(const FleetStatus &value)
ListFleetsRequest & WithPrincipalId(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
ListFleetsRequest & WithFarmId(const Aws::String &value)
ListFleetsRequest & WithStatus(const FleetStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String