AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline void SetId(const Aws::String& value) { m_id = value; }
43 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
44 inline void SetId(const char* value) { m_id.assign(value); }
45 inline UpdateDeploymentStrategyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline UpdateDeploymentStrategyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline UpdateDeploymentStrategyResult& WithId(const char* value) { SetId(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline UpdateDeploymentStrategyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline UpdateDeploymentStrategyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline UpdateDeploymentStrategyResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline UpdateDeploymentStrategyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline UpdateDeploymentStrategyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline UpdateDeploymentStrategyResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
81 inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutes = value; }
84
86
89 inline const GrowthType& GetGrowthType() const{ return m_growthType; }
90 inline void SetGrowthType(const GrowthType& value) { m_growthType = value; }
91 inline void SetGrowthType(GrowthType&& value) { m_growthType = std::move(value); }
92 inline UpdateDeploymentStrategyResult& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
93 inline UpdateDeploymentStrategyResult& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
95
97
101 inline double GetGrowthFactor() const{ return m_growthFactor; }
102 inline void SetGrowthFactor(double value) { m_growthFactor = value; }
103 inline UpdateDeploymentStrategyResult& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
105
107
111 inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
112 inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutes = value; }
115
117
120 inline const ReplicateTo& GetReplicateTo() const{ return m_replicateTo; }
121 inline void SetReplicateTo(const ReplicateTo& value) { m_replicateTo = value; }
122 inline void SetReplicateTo(ReplicateTo&& value) { m_replicateTo = std::move(value); }
123 inline UpdateDeploymentStrategyResult& WithReplicateTo(const ReplicateTo& value) { SetReplicateTo(value); return *this;}
124 inline UpdateDeploymentStrategyResult& WithReplicateTo(ReplicateTo&& value) { SetReplicateTo(std::move(value)); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline UpdateDeploymentStrategyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline UpdateDeploymentStrategyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline UpdateDeploymentStrategyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::String m_id;
140
141 Aws::String m_name;
142
143 Aws::String m_description;
144
145 int m_deploymentDurationInMinutes;
146
147 GrowthType m_growthType;
148
149 double m_growthFactor;
150
151 int m_finalBakeTimeInMinutes;
152
153 ReplicateTo m_replicateTo;
154
155 Aws::String m_requestId;
156 };
157
158} // namespace Model
159} // namespace AppConfig
160} // namespace Aws
AWS_APPCONFIG_API UpdateDeploymentStrategyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentStrategyResult & WithName(const char *value)
UpdateDeploymentStrategyResult & WithRequestId(const char *value)
UpdateDeploymentStrategyResult & WithName(const Aws::String &value)
UpdateDeploymentStrategyResult & WithId(Aws::String &&value)
UpdateDeploymentStrategyResult & WithDescription(Aws::String &&value)
UpdateDeploymentStrategyResult & WithGrowthType(const GrowthType &value)
UpdateDeploymentStrategyResult & WithDescription(const char *value)
UpdateDeploymentStrategyResult & WithReplicateTo(const ReplicateTo &value)
UpdateDeploymentStrategyResult & WithId(const Aws::String &value)
UpdateDeploymentStrategyResult & WithDescription(const Aws::String &value)
UpdateDeploymentStrategyResult & WithName(Aws::String &&value)
UpdateDeploymentStrategyResult & WithDeploymentDurationInMinutes(int value)
UpdateDeploymentStrategyResult & WithReplicateTo(ReplicateTo &&value)
UpdateDeploymentStrategyResult & WithId(const char *value)
UpdateDeploymentStrategyResult & WithRequestId(const Aws::String &value)
UpdateDeploymentStrategyResult & WithGrowthType(GrowthType &&value)
UpdateDeploymentStrategyResult & WithFinalBakeTimeInMinutes(int value)
UpdateDeploymentStrategyResult & WithGrowthFactor(double value)
AWS_APPCONFIG_API UpdateDeploymentStrategyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentStrategyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue