AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteFleetLocationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
48 
53  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
54 
59  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
60 
65  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
66 
71  inline DeleteFleetLocationsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
72 
77  inline DeleteFleetLocationsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
78 
83  inline DeleteFleetLocationsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
84 
85 
93  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
94 
102  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
103 
111  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
112 
120  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
121 
129  inline DeleteFleetLocationsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
130 
138  inline DeleteFleetLocationsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
139 
147  inline DeleteFleetLocationsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
148 
149 
154  inline const Aws::Vector<LocationState>& GetLocationStates() const{ return m_locationStates; }
155 
160  inline void SetLocationStates(const Aws::Vector<LocationState>& value) { m_locationStates = value; }
161 
166  inline void SetLocationStates(Aws::Vector<LocationState>&& value) { m_locationStates = std::move(value); }
167 
172  inline DeleteFleetLocationsResult& WithLocationStates(const Aws::Vector<LocationState>& value) { SetLocationStates(value); return *this;}
173 
178  inline DeleteFleetLocationsResult& WithLocationStates(Aws::Vector<LocationState>&& value) { SetLocationStates(std::move(value)); return *this;}
179 
184  inline DeleteFleetLocationsResult& AddLocationStates(const LocationState& value) { m_locationStates.push_back(value); return *this; }
185 
190  inline DeleteFleetLocationsResult& AddLocationStates(LocationState&& value) { m_locationStates.push_back(std::move(value)); return *this; }
191 
192  private:
193 
194  Aws::String m_fleetId;
195 
196  Aws::String m_fleetArn;
197 
198  Aws::Vector<LocationState> m_locationStates;
199  };
200 
201 } // namespace Model
202 } // namespace GameLift
203 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DeleteFleetLocationsResult::AddLocationStates
DeleteFleetLocationsResult & AddLocationStates(LocationState &&value)
Definition: DeleteFleetLocationsResult.h:190
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetId
DeleteFleetLocationsResult & WithFleetId(const char *value)
Definition: DeleteFleetLocationsResult.h:83
Aws::GameLift::Model::DeleteFleetLocationsResult::WithLocationStates
DeleteFleetLocationsResult & WithLocationStates(const Aws::Vector< LocationState > &value)
Definition: DeleteFleetLocationsResult.h:172
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DeleteFleetLocationsResult.h:53
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DeleteFleetLocationsResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetArn
DeleteFleetLocationsResult & WithFleetArn(const char *value)
Definition: DeleteFleetLocationsResult.h:147
AWSVector.h
Aws::GameLift::Model::LocationState
Definition: LocationState.h:39
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetArn
DeleteFleetLocationsResult & WithFleetArn(Aws::String &&value)
Definition: DeleteFleetLocationsResult.h:138
GameLift_EXPORTS.h
Aws::GameLift::Model::DeleteFleetLocationsResult::DeleteFleetLocationsResult
DeleteFleetLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DeleteFleetLocationsResult::operator=
DeleteFleetLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DeleteFleetLocationsResult::GetLocationStates
const Aws::Vector< LocationState > & GetLocationStates() const
Definition: DeleteFleetLocationsResult.h:154
Aws::GameLift::Model::DeleteFleetLocationsResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: DeleteFleetLocationsResult.h:93
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetArn
DeleteFleetLocationsResult & WithFleetArn(const Aws::String &value)
Definition: DeleteFleetLocationsResult.h:129
AWSString.h
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetId
DeleteFleetLocationsResult & WithFleetId(const Aws::String &value)
Definition: DeleteFleetLocationsResult.h:71
Aws::GameLift::Model::DeleteFleetLocationsResult::AddLocationStates
DeleteFleetLocationsResult & AddLocationStates(const LocationState &value)
Definition: DeleteFleetLocationsResult.h:184
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: DeleteFleetLocationsResult.h:102
Aws::GameLift::Model::DeleteFleetLocationsResult::DeleteFleetLocationsResult
DeleteFleetLocationsResult()
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: DeleteFleetLocationsResult.h:120
Aws::GameLift::Model::DeleteFleetLocationsResult::WithFleetId
DeleteFleetLocationsResult & WithFleetId(Aws::String &&value)
Definition: DeleteFleetLocationsResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DeleteFleetLocationsResult::WithLocationStates
DeleteFleetLocationsResult & WithLocationStates(Aws::Vector< LocationState > &&value)
Definition: DeleteFleetLocationsResult.h:178
Aws::GameLift::Model::DeleteFleetLocationsResult::SetLocationStates
void SetLocationStates(Aws::Vector< LocationState > &&value)
Definition: DeleteFleetLocationsResult.h:166
Aws::GameLift::Model::DeleteFleetLocationsResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: DeleteFleetLocationsResult.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetId
void SetFleetId(const char *value)
Definition: DeleteFleetLocationsResult.h:65
Aws::GameLift::Model::DeleteFleetLocationsResult
Definition: DeleteFleetLocationsResult.h:36
Aws::GameLift::Model::DeleteFleetLocationsResult::SetLocationStates
void SetLocationStates(const Aws::Vector< LocationState > &value)
Definition: DeleteFleetLocationsResult.h:160
LocationState.h
Aws::GameLift::Model::DeleteFleetLocationsResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: DeleteFleetLocationsResult.h:111