AWS SDK for C++  1.9.110
AWS SDK for C++
StopFleetActionsResult.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 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 
48  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
49 
53  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
54 
58  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
59 
63  inline StopFleetActionsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
64 
68  inline StopFleetActionsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
69 
73  inline StopFleetActionsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
74 
75 
83  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
84 
92  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
93 
101  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
102 
110  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
111 
119  inline StopFleetActionsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
120 
128  inline StopFleetActionsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
129 
137  inline StopFleetActionsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
138 
139  private:
140 
141  Aws::String m_fleetId;
142 
143  Aws::String m_fleetArn;
144  };
145 
146 } // namespace Model
147 } // namespace GameLift
148 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::StopFleetActionsResult::StopFleetActionsResult
StopFleetActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StopFleetActionsResult::WithFleetId
StopFleetActionsResult & WithFleetId(Aws::String &&value)
Definition: StopFleetActionsResult.h:68
Aws::GameLift::Model::StopFleetActionsResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: StopFleetActionsResult.h:101
Aws::GameLift::Model::StopFleetActionsResult::StopFleetActionsResult
StopFleetActionsResult()
Aws::GameLift::Model::StopFleetActionsResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: StopFleetActionsResult.h:83
Aws::GameLift::Model::StopFleetActionsResult::operator=
StopFleetActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::StopFleetActionsResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: StopFleetActionsResult.h:48
Aws::GameLift::Model::StopFleetActionsResult::WithFleetId
StopFleetActionsResult & WithFleetId(const Aws::String &value)
Definition: StopFleetActionsResult.h:63
Aws::GameLift::Model::StopFleetActionsResult::WithFleetArn
StopFleetActionsResult & WithFleetArn(const Aws::String &value)
Definition: StopFleetActionsResult.h:119
Aws::GameLift::Model::StopFleetActionsResult
Definition: StopFleetActionsResult.h:33
AWSString.h
Aws::GameLift::Model::StopFleetActionsResult::WithFleetArn
StopFleetActionsResult & WithFleetArn(Aws::String &&value)
Definition: StopFleetActionsResult.h:128
Aws::GameLift::Model::StopFleetActionsResult::SetFleetId
void SetFleetId(const char *value)
Definition: StopFleetActionsResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StopFleetActionsResult::WithFleetId
StopFleetActionsResult & WithFleetId(const char *value)
Definition: StopFleetActionsResult.h:73
Aws::GameLift::Model::StopFleetActionsResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: StopFleetActionsResult.h:53
Aws::GameLift::Model::StopFleetActionsResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: StopFleetActionsResult.h:110
Aws::GameLift::Model::StopFleetActionsResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: StopFleetActionsResult.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::StopFleetActionsResult::WithFleetArn
StopFleetActionsResult & WithFleetArn(const char *value)
Definition: StopFleetActionsResult.h:137
Aws::GameLift::Model::StopFleetActionsResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: StopFleetActionsResult.h:43