AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateFleetCapacityResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/ManagedCapacityConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GameLift {
23namespace Model {
25 public:
26 AWS_GAMELIFT_API UpdateFleetCapacityResult() = default;
29
31
34 inline const Aws::String& GetFleetId() const { return m_fleetId; }
35 template <typename FleetIdT = Aws::String>
36 void SetFleetId(FleetIdT&& value) {
37 m_fleetIdHasBeenSet = true;
38 m_fleetId = std::forward<FleetIdT>(value);
39 }
40 template <typename FleetIdT = Aws::String>
42 SetFleetId(std::forward<FleetIdT>(value));
43 return *this;
44 }
46
48
56 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
57 template <typename FleetArnT = Aws::String>
58 void SetFleetArn(FleetArnT&& value) {
59 m_fleetArnHasBeenSet = true;
60 m_fleetArn = std::forward<FleetArnT>(value);
61 }
62 template <typename FleetArnT = Aws::String>
64 SetFleetArn(std::forward<FleetArnT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetLocation() const { return m_location; }
75 template <typename LocationT = Aws::String>
76 void SetLocation(LocationT&& value) {
77 m_locationHasBeenSet = true;
78 m_location = std::forward<LocationT>(value);
79 }
80 template <typename LocationT = Aws::String>
82 SetLocation(std::forward<LocationT>(value));
83 return *this;
84 }
86
88
92 inline const ManagedCapacityConfiguration& GetManagedCapacityConfiguration() const { return m_managedCapacityConfiguration; }
93 template <typename ManagedCapacityConfigurationT = ManagedCapacityConfiguration>
94 void SetManagedCapacityConfiguration(ManagedCapacityConfigurationT&& value) {
95 m_managedCapacityConfigurationHasBeenSet = true;
96 m_managedCapacityConfiguration = std::forward<ManagedCapacityConfigurationT>(value);
97 }
98 template <typename ManagedCapacityConfigurationT = ManagedCapacityConfiguration>
99 UpdateFleetCapacityResult& WithManagedCapacityConfiguration(ManagedCapacityConfigurationT&& value) {
100 SetManagedCapacityConfiguration(std::forward<ManagedCapacityConfigurationT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_fleetId;
121
122 Aws::String m_fleetArn;
123
124 Aws::String m_location;
125
126 ManagedCapacityConfiguration m_managedCapacityConfiguration;
127
128 Aws::String m_requestId;
129 bool m_fleetIdHasBeenSet = false;
130 bool m_fleetArnHasBeenSet = false;
131 bool m_locationHasBeenSet = false;
132 bool m_managedCapacityConfigurationHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace GameLift
138} // namespace Aws
AWS_GAMELIFT_API UpdateFleetCapacityResult()=default
AWS_GAMELIFT_API UpdateFleetCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API UpdateFleetCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFleetCapacityResult & WithFleetArn(FleetArnT &&value)
const ManagedCapacityConfiguration & GetManagedCapacityConfiguration() const
UpdateFleetCapacityResult & WithManagedCapacityConfiguration(ManagedCapacityConfigurationT &&value)
UpdateFleetCapacityResult & WithFleetId(FleetIdT &&value)
void SetManagedCapacityConfiguration(ManagedCapacityConfigurationT &&value)
UpdateFleetCapacityResult & WithLocation(LocationT &&value)
UpdateFleetCapacityResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue