AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateRuntimeConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/RuntimeConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API UpdateRuntimeConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRuntimeConfiguration"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetFleetId() const { return m_fleetId; }
40 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
41 template <typename FleetIdT = Aws::String>
42 void SetFleetId(FleetIdT&& value) {
43 m_fleetIdHasBeenSet = true;
44 m_fleetId = std::forward<FleetIdT>(value);
45 }
46 template <typename FleetIdT = Aws::String>
48 SetFleetId(std::forward<FleetIdT>(value));
49 return *this;
50 }
52
54
60 inline const RuntimeConfiguration& GetRuntimeConfiguration() const { return m_runtimeConfiguration; }
61 inline bool RuntimeConfigurationHasBeenSet() const { return m_runtimeConfigurationHasBeenSet; }
62 template <typename RuntimeConfigurationT = RuntimeConfiguration>
63 void SetRuntimeConfiguration(RuntimeConfigurationT&& value) {
64 m_runtimeConfigurationHasBeenSet = true;
65 m_runtimeConfiguration = std::forward<RuntimeConfigurationT>(value);
66 }
67 template <typename RuntimeConfigurationT = RuntimeConfiguration>
69 SetRuntimeConfiguration(std::forward<RuntimeConfigurationT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_fleetId;
75
76 RuntimeConfiguration m_runtimeConfiguration;
77 bool m_fleetIdHasBeenSet = false;
78 bool m_runtimeConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace GameLift
83} // namespace Aws
AWS_GAMELIFT_API UpdateRuntimeConfigurationRequest()=default
UpdateRuntimeConfigurationRequest & WithFleetId(FleetIdT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
UpdateRuntimeConfigurationRequest & WithRuntimeConfiguration(RuntimeConfigurationT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String