AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDeploymentStrategyRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appconfig/model/GrowthType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeploymentStrategy"; }
32
33 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDeploymentStrategyId() const{ return m_deploymentStrategyId; }
41 inline bool DeploymentStrategyIdHasBeenSet() const { return m_deploymentStrategyIdHasBeenSet; }
42 inline void SetDeploymentStrategyId(const Aws::String& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = value; }
43 inline void SetDeploymentStrategyId(Aws::String&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::move(value); }
44 inline void SetDeploymentStrategyId(const char* value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId.assign(value); }
47 inline UpdateDeploymentStrategyRequest& WithDeploymentStrategyId(const char* value) { SetDeploymentStrategyId(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdateDeploymentStrategyRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdateDeploymentStrategyRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdateDeploymentStrategyRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
68 inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
69 inline bool DeploymentDurationInMinutesHasBeenSet() const { return m_deploymentDurationInMinutesHasBeenSet; }
70 inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
73
75
79 inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
80 inline bool FinalBakeTimeInMinutesHasBeenSet() const { return m_finalBakeTimeInMinutesHasBeenSet; }
81 inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
84
86
90 inline double GetGrowthFactor() const{ return m_growthFactor; }
91 inline bool GrowthFactorHasBeenSet() const { return m_growthFactorHasBeenSet; }
92 inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
93 inline UpdateDeploymentStrategyRequest& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
95
97
116 inline const GrowthType& GetGrowthType() const{ return m_growthType; }
117 inline bool GrowthTypeHasBeenSet() const { return m_growthTypeHasBeenSet; }
118 inline void SetGrowthType(const GrowthType& value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
119 inline void SetGrowthType(GrowthType&& value) { m_growthTypeHasBeenSet = true; m_growthType = std::move(value); }
120 inline UpdateDeploymentStrategyRequest& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
121 inline UpdateDeploymentStrategyRequest& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_deploymentStrategyId;
126 bool m_deploymentStrategyIdHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 int m_deploymentDurationInMinutes;
132 bool m_deploymentDurationInMinutesHasBeenSet = false;
133
134 int m_finalBakeTimeInMinutes;
135 bool m_finalBakeTimeInMinutesHasBeenSet = false;
136
137 double m_growthFactor;
138 bool m_growthFactorHasBeenSet = false;
139
140 GrowthType m_growthType;
141 bool m_growthTypeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace AppConfig
146} // namespace Aws
UpdateDeploymentStrategyRequest & WithDescription(Aws::String &&value)
UpdateDeploymentStrategyRequest & WithGrowthFactor(double value)
UpdateDeploymentStrategyRequest & WithFinalBakeTimeInMinutes(int value)
UpdateDeploymentStrategyRequest & WithDescription(const Aws::String &value)
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(const char *value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(const Aws::String &value)
UpdateDeploymentStrategyRequest & WithGrowthType(const GrowthType &value)
UpdateDeploymentStrategyRequest & WithGrowthType(GrowthType &&value)
UpdateDeploymentStrategyRequest & WithDescription(const char *value)
UpdateDeploymentStrategyRequest & WithDeploymentDurationInMinutes(int value)
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String