AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateDeploymentStrategyResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/GrowthType.h>
9#include <aws/appconfig/model/ReplicateTo.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppConfig {
25namespace Model {
27 public:
28 AWS_APPCONFIG_API CreateDeploymentStrategyResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline int GetDeploymentDurationInMinutes() const { return m_deploymentDurationInMinutes; }
88 inline void SetDeploymentDurationInMinutes(int value) {
89 m_deploymentDurationInMinutesHasBeenSet = true;
90 m_deploymentDurationInMinutes = value;
91 }
94 return *this;
95 }
97
99
102 inline GrowthType GetGrowthType() const { return m_growthType; }
103 inline void SetGrowthType(GrowthType value) {
104 m_growthTypeHasBeenSet = true;
105 m_growthType = value;
106 }
108 SetGrowthType(value);
109 return *this;
110 }
112
114
118 inline double GetGrowthFactor() const { return m_growthFactor; }
119 inline void SetGrowthFactor(double value) {
120 m_growthFactorHasBeenSet = true;
121 m_growthFactor = value;
122 }
124 SetGrowthFactor(value);
125 return *this;
126 }
128
130
134 inline int GetFinalBakeTimeInMinutes() const { return m_finalBakeTimeInMinutes; }
135 inline void SetFinalBakeTimeInMinutes(int value) {
136 m_finalBakeTimeInMinutesHasBeenSet = true;
137 m_finalBakeTimeInMinutes = value;
138 }
141 return *this;
142 }
144
146
149 inline ReplicateTo GetReplicateTo() const { return m_replicateTo; }
150 inline void SetReplicateTo(ReplicateTo value) {
151 m_replicateToHasBeenSet = true;
152 m_replicateTo = value;
153 }
155 SetReplicateTo(value);
156 return *this;
157 }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template <typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) {
165 m_requestIdHasBeenSet = true;
166 m_requestId = std::forward<RequestIdT>(value);
167 }
168 template <typename RequestIdT = Aws::String>
170 SetRequestId(std::forward<RequestIdT>(value));
171 return *this;
172 }
174 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
175
176 private:
177 Aws::String m_id;
178
179 Aws::String m_name;
180
181 Aws::String m_description;
182
183 int m_deploymentDurationInMinutes{0};
184
185 GrowthType m_growthType{GrowthType::NOT_SET};
186
187 double m_growthFactor{0.0};
188
189 int m_finalBakeTimeInMinutes{0};
190
191 ReplicateTo m_replicateTo{ReplicateTo::NOT_SET};
192
193 Aws::String m_requestId;
194 Aws::Http::HttpResponseCode m_HttpResponseCode;
195 bool m_idHasBeenSet = false;
196 bool m_nameHasBeenSet = false;
197 bool m_descriptionHasBeenSet = false;
198 bool m_deploymentDurationInMinutesHasBeenSet = false;
199 bool m_growthTypeHasBeenSet = false;
200 bool m_growthFactorHasBeenSet = false;
201 bool m_finalBakeTimeInMinutesHasBeenSet = false;
202 bool m_replicateToHasBeenSet = false;
203 bool m_requestIdHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace AppConfig
208} // namespace Aws
CreateDeploymentStrategyResult & WithName(NameT &&value)
CreateDeploymentStrategyResult & WithGrowthType(GrowthType value)
AWS_APPCONFIG_API CreateDeploymentStrategyResult()=default
CreateDeploymentStrategyResult & WithReplicateTo(ReplicateTo value)
CreateDeploymentStrategyResult & WithFinalBakeTimeInMinutes(int value)
CreateDeploymentStrategyResult & WithDeploymentDurationInMinutes(int value)
CreateDeploymentStrategyResult & WithGrowthFactor(double value)
AWS_APPCONFIG_API CreateDeploymentStrategyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentStrategyResult & WithDescription(DescriptionT &&value)
CreateDeploymentStrategyResult & WithRequestId(RequestIdT &&value)
AWS_APPCONFIG_API CreateDeploymentStrategyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue