AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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/utils/memory/stl/AWSString.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 AppConfig {
24namespace Model {
26 public:
27 AWS_APPCONFIG_API CreateDeploymentStrategyResult() = default;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
86 inline int GetDeploymentDurationInMinutes() const { return m_deploymentDurationInMinutes; }
87 inline void SetDeploymentDurationInMinutes(int value) {
88 m_deploymentDurationInMinutesHasBeenSet = true;
89 m_deploymentDurationInMinutes = value;
90 }
93 return *this;
94 }
96
98
101 inline GrowthType GetGrowthType() const { return m_growthType; }
102 inline void SetGrowthType(GrowthType value) {
103 m_growthTypeHasBeenSet = true;
104 m_growthType = value;
105 }
107 SetGrowthType(value);
108 return *this;
109 }
111
113
117 inline double GetGrowthFactor() const { return m_growthFactor; }
118 inline void SetGrowthFactor(double value) {
119 m_growthFactorHasBeenSet = true;
120 m_growthFactor = value;
121 }
123 SetGrowthFactor(value);
124 return *this;
125 }
127
129
133 inline int GetFinalBakeTimeInMinutes() const { return m_finalBakeTimeInMinutes; }
134 inline void SetFinalBakeTimeInMinutes(int value) {
135 m_finalBakeTimeInMinutesHasBeenSet = true;
136 m_finalBakeTimeInMinutes = value;
137 }
140 return *this;
141 }
143
145
148 inline ReplicateTo GetReplicateTo() const { return m_replicateTo; }
149 inline void SetReplicateTo(ReplicateTo value) {
150 m_replicateToHasBeenSet = true;
151 m_replicateTo = value;
152 }
154 SetReplicateTo(value);
155 return *this;
156 }
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template <typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) {
164 m_requestIdHasBeenSet = true;
165 m_requestId = std::forward<RequestIdT>(value);
166 }
167 template <typename RequestIdT = Aws::String>
169 SetRequestId(std::forward<RequestIdT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_id;
175
176 Aws::String m_name;
177
178 Aws::String m_description;
179
180 int m_deploymentDurationInMinutes{0};
181
182 GrowthType m_growthType{GrowthType::NOT_SET};
183
184 double m_growthFactor{0.0};
185
186 int m_finalBakeTimeInMinutes{0};
187
188 ReplicateTo m_replicateTo{ReplicateTo::NOT_SET};
189
190 Aws::String m_requestId;
191 bool m_idHasBeenSet = false;
192 bool m_nameHasBeenSet = false;
193 bool m_descriptionHasBeenSet = false;
194 bool m_deploymentDurationInMinutesHasBeenSet = false;
195 bool m_growthTypeHasBeenSet = false;
196 bool m_growthFactorHasBeenSet = false;
197 bool m_finalBakeTimeInMinutesHasBeenSet = false;
198 bool m_replicateToHasBeenSet = false;
199 bool m_requestIdHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace AppConfig
204} // 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