AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateFleetCapacityResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
49  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
50 
54  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
55 
59  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
60 
64  inline UpdateFleetCapacityResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
65 
69  inline UpdateFleetCapacityResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
70 
74  inline UpdateFleetCapacityResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
75 
76 
85  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
86 
95  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
96 
105  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
106 
115  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
116 
125  inline UpdateFleetCapacityResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
126 
135  inline UpdateFleetCapacityResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
136 
145  inline UpdateFleetCapacityResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
146 
147 
152  inline const Aws::String& GetLocation() const{ return m_location; }
153 
158  inline void SetLocation(const Aws::String& value) { m_location = value; }
159 
164  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
165 
170  inline void SetLocation(const char* value) { m_location.assign(value); }
171 
176  inline UpdateFleetCapacityResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
177 
182  inline UpdateFleetCapacityResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
183 
188  inline UpdateFleetCapacityResult& WithLocation(const char* value) { SetLocation(value); return *this;}
189 
190  private:
191 
192  Aws::String m_fleetId;
193 
194  Aws::String m_fleetArn;
195 
196  Aws::String m_location;
197  };
198 
199 } // namespace Model
200 } // namespace GameLift
201 } // namespace Aws
Aws::GameLift::Model::UpdateFleetCapacityResult::WithLocation
UpdateFleetCapacityResult & WithLocation(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:182
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetArn
UpdateFleetCapacityResult & WithFleetArn(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:135
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetId
UpdateFleetCapacityResult & WithFleetId(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:69
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetId
UpdateFleetCapacityResult & WithFleetId(const char *value)
Definition: UpdateFleetCapacityResult.h:74
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:95
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetArn
UpdateFleetCapacityResult & WithFleetArn(const char *value)
Definition: UpdateFleetCapacityResult.h:145
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:105
Aws::GameLift::Model::UpdateFleetCapacityResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:164
Aws::GameLift::Model::UpdateFleetCapacityResult::WithLocation
UpdateFleetCapacityResult & WithLocation(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:176
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateFleetCapacityResult::operator=
UpdateFleetCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: UpdateFleetCapacityResult.h:54
Aws::GameLift::Model::UpdateFleetCapacityResult::UpdateFleetCapacityResult
UpdateFleetCapacityResult()
Aws::GameLift::Model::UpdateFleetCapacityResult::WithLocation
UpdateFleetCapacityResult & WithLocation(const char *value)
Definition: UpdateFleetCapacityResult.h:188
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetId
UpdateFleetCapacityResult & WithFleetId(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:64
AWSString.h
Aws::GameLift::Model::UpdateFleetCapacityResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:158
Aws::GameLift::Model::UpdateFleetCapacityResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: UpdateFleetCapacityResult.h:44
Aws::GameLift::Model::UpdateFleetCapacityResult
Definition: UpdateFleetCapacityResult.h:34
Aws::GameLift::Model::UpdateFleetCapacityResult::SetLocation
void SetLocation(const char *value)
Definition: UpdateFleetCapacityResult.h:170
Aws::GameLift::Model::UpdateFleetCapacityResult::UpdateFleetCapacityResult
UpdateFleetCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: UpdateFleetCapacityResult.h:115
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetId
void SetFleetId(const char *value)
Definition: UpdateFleetCapacityResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UpdateFleetCapacityResult::GetLocation
const Aws::String & GetLocation() const
Definition: UpdateFleetCapacityResult.h:152
Aws::GameLift::Model::UpdateFleetCapacityResult::WithFleetArn
UpdateFleetCapacityResult & WithFleetArn(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:125
Aws::GameLift::Model::UpdateFleetCapacityResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: UpdateFleetCapacityResult.h:49
Aws::GameLift::Model::UpdateFleetCapacityResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: UpdateFleetCapacityResult.h:85