AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateFleetCapacityResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ManagedCapacityConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GameLift {
24namespace Model {
26 public:
27 AWS_GAMELIFT_API UpdateFleetCapacityResult() = default;
30
32
35 inline const Aws::String& GetFleetId() const { return m_fleetId; }
36 template <typename FleetIdT = Aws::String>
37 void SetFleetId(FleetIdT&& value) {
38 m_fleetIdHasBeenSet = true;
39 m_fleetId = std::forward<FleetIdT>(value);
40 }
41 template <typename FleetIdT = Aws::String>
43 SetFleetId(std::forward<FleetIdT>(value));
44 return *this;
45 }
47
49
57 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
58 template <typename FleetArnT = Aws::String>
59 void SetFleetArn(FleetArnT&& value) {
60 m_fleetArnHasBeenSet = true;
61 m_fleetArn = std::forward<FleetArnT>(value);
62 }
63 template <typename FleetArnT = Aws::String>
65 SetFleetArn(std::forward<FleetArnT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetLocation() const { return m_location; }
76 template <typename LocationT = Aws::String>
77 void SetLocation(LocationT&& value) {
78 m_locationHasBeenSet = true;
79 m_location = std::forward<LocationT>(value);
80 }
81 template <typename LocationT = Aws::String>
83 SetLocation(std::forward<LocationT>(value));
84 return *this;
85 }
87
89
93 inline const ManagedCapacityConfiguration& GetManagedCapacityConfiguration() const { return m_managedCapacityConfiguration; }
94 template <typename ManagedCapacityConfigurationT = ManagedCapacityConfiguration>
95 void SetManagedCapacityConfiguration(ManagedCapacityConfigurationT&& value) {
96 m_managedCapacityConfigurationHasBeenSet = true;
97 m_managedCapacityConfiguration = std::forward<ManagedCapacityConfigurationT>(value);
98 }
99 template <typename ManagedCapacityConfigurationT = ManagedCapacityConfiguration>
100 UpdateFleetCapacityResult& WithManagedCapacityConfiguration(ManagedCapacityConfigurationT&& value) {
101 SetManagedCapacityConfiguration(std::forward<ManagedCapacityConfigurationT>(value));
102 return *this;
103 }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template <typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) {
111 m_requestIdHasBeenSet = true;
112 m_requestId = std::forward<RequestIdT>(value);
113 }
114 template <typename RequestIdT = Aws::String>
116 SetRequestId(std::forward<RequestIdT>(value));
117 return *this;
118 }
120 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
121
122 private:
123 Aws::String m_fleetId;
124
125 Aws::String m_fleetArn;
126
127 Aws::String m_location;
128
129 ManagedCapacityConfiguration m_managedCapacityConfiguration;
130
131 Aws::String m_requestId;
132 Aws::Http::HttpResponseCode m_HttpResponseCode;
133 bool m_fleetIdHasBeenSet = false;
134 bool m_fleetArnHasBeenSet = false;
135 bool m_locationHasBeenSet = false;
136 bool m_managedCapacityConfigurationHasBeenSet = false;
137 bool m_requestIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace GameLift
142} // namespace Aws
AWS_GAMELIFT_API UpdateFleetCapacityResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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