AWS SDK for C++  1.9.69
AWS SDK for C++
UpdateRuntimeConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateRuntimeConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
46 
51  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
52 
57  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
58 
63  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 
69  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
70 
75  inline UpdateRuntimeConfigurationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
76 
81  inline UpdateRuntimeConfigurationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
82 
87  inline UpdateRuntimeConfigurationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
88 
89 
97  inline const RuntimeConfiguration& GetRuntimeConfiguration() const{ return m_runtimeConfiguration; }
98 
106  inline bool RuntimeConfigurationHasBeenSet() const { return m_runtimeConfigurationHasBeenSet; }
107 
115  inline void SetRuntimeConfiguration(const RuntimeConfiguration& value) { m_runtimeConfigurationHasBeenSet = true; m_runtimeConfiguration = value; }
116 
124  inline void SetRuntimeConfiguration(RuntimeConfiguration&& value) { m_runtimeConfigurationHasBeenSet = true; m_runtimeConfiguration = std::move(value); }
125 
133  inline UpdateRuntimeConfigurationRequest& WithRuntimeConfiguration(const RuntimeConfiguration& value) { SetRuntimeConfiguration(value); return *this;}
134 
142  inline UpdateRuntimeConfigurationRequest& WithRuntimeConfiguration(RuntimeConfiguration&& value) { SetRuntimeConfiguration(std::move(value)); return *this;}
143 
144  private:
145 
146  Aws::String m_fleetId;
147  bool m_fleetIdHasBeenSet;
148 
149  RuntimeConfiguration m_runtimeConfiguration;
150  bool m_runtimeConfigurationHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace GameLift
155 } // namespace Aws
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::WithRuntimeConfiguration
UpdateRuntimeConfigurationRequest & WithRuntimeConfiguration(RuntimeConfiguration &&value)
Definition: UpdateRuntimeConfigurationRequest.h:142
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::WithFleetId
UpdateRuntimeConfigurationRequest & WithFleetId(const char *value)
Definition: UpdateRuntimeConfigurationRequest.h:87
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: UpdateRuntimeConfigurationRequest.h:63
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRuntimeConfigurationRequest.h:34
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SetFleetId
void SetFleetId(const char *value)
Definition: UpdateRuntimeConfigurationRequest.h:69
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::WithRuntimeConfiguration
UpdateRuntimeConfigurationRequest & WithRuntimeConfiguration(const RuntimeConfiguration &value)
Definition: UpdateRuntimeConfigurationRequest.h:133
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest
Definition: UpdateRuntimeConfigurationRequest.h:26
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: UpdateRuntimeConfigurationRequest.h:45
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::GetRuntimeConfiguration
const RuntimeConfiguration & GetRuntimeConfiguration() const
Definition: UpdateRuntimeConfigurationRequest.h:97
RuntimeConfiguration.h
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SetRuntimeConfiguration
void SetRuntimeConfiguration(RuntimeConfiguration &&value)
Definition: UpdateRuntimeConfigurationRequest.h:124
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: UpdateRuntimeConfigurationRequest.h:51
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::WithFleetId
UpdateRuntimeConfigurationRequest & WithFleetId(Aws::String &&value)
Definition: UpdateRuntimeConfigurationRequest.h:81
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::UpdateRuntimeConfigurationRequest
UpdateRuntimeConfigurationRequest()
Aws::GameLift::Model::RuntimeConfiguration
Definition: RuntimeConfiguration.h:45
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::RuntimeConfigurationHasBeenSet
bool RuntimeConfigurationHasBeenSet() const
Definition: UpdateRuntimeConfigurationRequest.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: UpdateRuntimeConfigurationRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::WithFleetId
UpdateRuntimeConfigurationRequest & WithFleetId(const Aws::String &value)
Definition: UpdateRuntimeConfigurationRequest.h:75
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::UpdateRuntimeConfigurationRequest::SetRuntimeConfiguration
void SetRuntimeConfiguration(const RuntimeConfiguration &value)
Definition: UpdateRuntimeConfigurationRequest.h:115