AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateDeploymentStrategyResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/GrowthType.h>
10#include <aws/appconfig/model/ReplicateTo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppConfig
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPCONFIG_API UpdateDeploymentStrategyResult() = default;
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 UpdateDeploymentStrategyResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 UpdateDeploymentStrategyResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 UpdateDeploymentStrategyResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline int GetDeploymentDurationInMinutes() const { return m_deploymentDurationInMinutes; }
75 inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
78
80
83 inline GrowthType GetGrowthType() const { return m_growthType; }
84 inline void SetGrowthType(GrowthType value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
87
89
93 inline double GetGrowthFactor() const { return m_growthFactor; }
94 inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
95 inline UpdateDeploymentStrategyResult& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
97
99
103 inline int GetFinalBakeTimeInMinutes() const { return m_finalBakeTimeInMinutes; }
104 inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
107
109
112 inline ReplicateTo GetReplicateTo() const { return m_replicateTo; }
113 inline void SetReplicateTo(ReplicateTo value) { m_replicateToHasBeenSet = true; m_replicateTo = value; }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 UpdateDeploymentStrategyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 int m_deploymentDurationInMinutes{0};
137 bool m_deploymentDurationInMinutesHasBeenSet = false;
138
139 GrowthType m_growthType{GrowthType::NOT_SET};
140 bool m_growthTypeHasBeenSet = false;
141
142 double m_growthFactor{0.0};
143 bool m_growthFactorHasBeenSet = false;
144
145 int m_finalBakeTimeInMinutes{0};
146 bool m_finalBakeTimeInMinutesHasBeenSet = false;
147
148 ReplicateTo m_replicateTo{ReplicateTo::NOT_SET};
149 bool m_replicateToHasBeenSet = false;
150
151 Aws::String m_requestId;
152 bool m_requestIdHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace AppConfig
157} // namespace Aws
AWS_APPCONFIG_API UpdateDeploymentStrategyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentStrategyResult & WithReplicateTo(ReplicateTo value)
UpdateDeploymentStrategyResult & WithDescription(DescriptionT &&value)
UpdateDeploymentStrategyResult & WithDeploymentDurationInMinutes(int value)
UpdateDeploymentStrategyResult & WithRequestId(RequestIdT &&value)
UpdateDeploymentStrategyResult & WithFinalBakeTimeInMinutes(int value)
UpdateDeploymentStrategyResult & WithGrowthType(GrowthType value)
UpdateDeploymentStrategyResult & WithGrowthFactor(double value)
UpdateDeploymentStrategyResult & WithName(NameT &&value)
AWS_APPCONFIG_API UpdateDeploymentStrategyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIG_API UpdateDeploymentStrategyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue