AWS SDK for C++  1.9.108
AWS SDK for C++
StartFleetActionsResult.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 StartFleetActionsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
65 
69  inline StartFleetActionsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
70 
74  inline StartFleetActionsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
75 
76 
84  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
85 
93  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
94 
102  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
103 
111  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
112 
120  inline StartFleetActionsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
121 
129  inline StartFleetActionsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
130 
138  inline StartFleetActionsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
139 
140  private:
141 
142  Aws::String m_fleetId;
143 
144  Aws::String m_fleetArn;
145  };
146 
147 } // namespace Model
148 } // namespace GameLift
149 } // namespace Aws
Aws::GameLift::Model::StartFleetActionsResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: StartFleetActionsResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::StartFleetActionsResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: StartFleetActionsResult.h:102
Aws::GameLift::Model::StartFleetActionsResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: StartFleetActionsResult.h:49
Aws::GameLift::Model::StartFleetActionsResult::StartFleetActionsResult
StartFleetActionsResult()
Aws::GameLift::Model::StartFleetActionsResult::StartFleetActionsResult
StartFleetActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StartFleetActionsResult::WithFleetId
StartFleetActionsResult & WithFleetId(const char *value)
Definition: StartFleetActionsResult.h:74
Aws::GameLift::Model::StartFleetActionsResult::SetFleetId
void SetFleetId(const char *value)
Definition: StartFleetActionsResult.h:59
Aws::GameLift::Model::StartFleetActionsResult::WithFleetId
StartFleetActionsResult & WithFleetId(Aws::String &&value)
Definition: StartFleetActionsResult.h:69
Aws::GameLift::Model::StartFleetActionsResult
Definition: StartFleetActionsResult.h:34
Aws::GameLift::Model::StartFleetActionsResult::WithFleetId
StartFleetActionsResult & WithFleetId(const Aws::String &value)
Definition: StartFleetActionsResult.h:64
GameLift_EXPORTS.h
Aws::GameLift::Model::StartFleetActionsResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: StartFleetActionsResult.h:44
AWSString.h
Aws::GameLift::Model::StartFleetActionsResult::WithFleetArn
StartFleetActionsResult & WithFleetArn(Aws::String &&value)
Definition: StartFleetActionsResult.h:129
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StartFleetActionsResult::WithFleetArn
StartFleetActionsResult & WithFleetArn(const Aws::String &value)
Definition: StartFleetActionsResult.h:120
Aws::GameLift::Model::StartFleetActionsResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: StartFleetActionsResult.h:111
Aws::GameLift::Model::StartFleetActionsResult::operator=
StartFleetActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::StartFleetActionsResult::WithFleetArn
StartFleetActionsResult & WithFleetArn(const char *value)
Definition: StartFleetActionsResult.h:138
Aws::GameLift::Model::StartFleetActionsResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: StartFleetActionsResult.h:93
Aws::GameLift::Model::StartFleetActionsResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: StartFleetActionsResult.h:84