AWS SDK for C++  1.9.158
AWS SDK for C++
DeploymentPolicies.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GreengrassV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
48  inline const DeploymentFailureHandlingPolicy& GetFailureHandlingPolicy() const{ return m_failureHandlingPolicy; }
49 
55  inline bool FailureHandlingPolicyHasBeenSet() const { return m_failureHandlingPolicyHasBeenSet; }
56 
62  inline void SetFailureHandlingPolicy(const DeploymentFailureHandlingPolicy& value) { m_failureHandlingPolicyHasBeenSet = true; m_failureHandlingPolicy = value; }
63 
69  inline void SetFailureHandlingPolicy(DeploymentFailureHandlingPolicy&& value) { m_failureHandlingPolicyHasBeenSet = true; m_failureHandlingPolicy = std::move(value); }
70 
76  inline DeploymentPolicies& WithFailureHandlingPolicy(const DeploymentFailureHandlingPolicy& value) { SetFailureHandlingPolicy(value); return *this;}
77 
83  inline DeploymentPolicies& WithFailureHandlingPolicy(DeploymentFailureHandlingPolicy&& value) { SetFailureHandlingPolicy(std::move(value)); return *this;}
84 
85 
90  inline const DeploymentComponentUpdatePolicy& GetComponentUpdatePolicy() const{ return m_componentUpdatePolicy; }
91 
96  inline bool ComponentUpdatePolicyHasBeenSet() const { return m_componentUpdatePolicyHasBeenSet; }
97 
102  inline void SetComponentUpdatePolicy(const DeploymentComponentUpdatePolicy& value) { m_componentUpdatePolicyHasBeenSet = true; m_componentUpdatePolicy = value; }
103 
108  inline void SetComponentUpdatePolicy(DeploymentComponentUpdatePolicy&& value) { m_componentUpdatePolicyHasBeenSet = true; m_componentUpdatePolicy = std::move(value); }
109 
114  inline DeploymentPolicies& WithComponentUpdatePolicy(const DeploymentComponentUpdatePolicy& value) { SetComponentUpdatePolicy(value); return *this;}
115 
120  inline DeploymentPolicies& WithComponentUpdatePolicy(DeploymentComponentUpdatePolicy&& value) { SetComponentUpdatePolicy(std::move(value)); return *this;}
121 
122 
128  inline const DeploymentConfigurationValidationPolicy& GetConfigurationValidationPolicy() const{ return m_configurationValidationPolicy; }
129 
135  inline bool ConfigurationValidationPolicyHasBeenSet() const { return m_configurationValidationPolicyHasBeenSet; }
136 
142  inline void SetConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy& value) { m_configurationValidationPolicyHasBeenSet = true; m_configurationValidationPolicy = value; }
143 
149  inline void SetConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy&& value) { m_configurationValidationPolicyHasBeenSet = true; m_configurationValidationPolicy = std::move(value); }
150 
156  inline DeploymentPolicies& WithConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy& value) { SetConfigurationValidationPolicy(value); return *this;}
157 
163  inline DeploymentPolicies& WithConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy&& value) { SetConfigurationValidationPolicy(std::move(value)); return *this;}
164 
165  private:
166 
167  DeploymentFailureHandlingPolicy m_failureHandlingPolicy;
168  bool m_failureHandlingPolicyHasBeenSet;
169 
170  DeploymentComponentUpdatePolicy m_componentUpdatePolicy;
171  bool m_componentUpdatePolicyHasBeenSet;
172 
173  DeploymentConfigurationValidationPolicy m_configurationValidationPolicy;
174  bool m_configurationValidationPolicyHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace GreengrassV2
179 } // namespace Aws
Aws::GreengrassV2::Model::DeploymentPolicies::WithFailureHandlingPolicy
DeploymentPolicies & WithFailureHandlingPolicy(DeploymentFailureHandlingPolicy &&value)
Definition: DeploymentPolicies.h:83
DeploymentFailureHandlingPolicy.h
Aws::GreengrassV2::Model::DeploymentPolicies::DeploymentPolicies
DeploymentPolicies()
DeploymentComponentUpdatePolicy.h
Aws::GreengrassV2::Model::DeploymentPolicies::WithComponentUpdatePolicy
DeploymentPolicies & WithComponentUpdatePolicy(const DeploymentComponentUpdatePolicy &value)
Definition: DeploymentPolicies.h:114
Aws::GreengrassV2::Model::DeploymentPolicies::SetConfigurationValidationPolicy
void SetConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy &&value)
Definition: DeploymentPolicies.h:149
Aws::GreengrassV2::Model::DeploymentConfigurationValidationPolicy
Definition: DeploymentConfigurationValidationPolicy.h:39
Aws::GreengrassV2::Model::DeploymentPolicies::SetConfigurationValidationPolicy
void SetConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy &value)
Definition: DeploymentPolicies.h:142
Aws::GreengrassV2::Model::DeploymentPolicies::WithConfigurationValidationPolicy
DeploymentPolicies & WithConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy &value)
Definition: DeploymentPolicies.h:156
DeploymentConfigurationValidationPolicy.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::DeploymentFailureHandlingPolicy
DeploymentFailureHandlingPolicy
Definition: DeploymentFailureHandlingPolicy.h:17
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::DeploymentPolicies::SetComponentUpdatePolicy
void SetComponentUpdatePolicy(DeploymentComponentUpdatePolicy &&value)
Definition: DeploymentPolicies.h:108
Aws::GreengrassV2::Model::DeploymentComponentUpdatePolicy
Definition: DeploymentComponentUpdatePolicy.h:38
Aws::GreengrassV2::Model::DeploymentPolicies
Definition: DeploymentPolicies.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::DeploymentPolicies::GetFailureHandlingPolicy
const DeploymentFailureHandlingPolicy & GetFailureHandlingPolicy() const
Definition: DeploymentPolicies.h:48
Aws::GreengrassV2::Model::DeploymentPolicies::operator=
DeploymentPolicies & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::DeploymentPolicies::DeploymentPolicies
DeploymentPolicies(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::DeploymentPolicies::SetComponentUpdatePolicy
void SetComponentUpdatePolicy(const DeploymentComponentUpdatePolicy &value)
Definition: DeploymentPolicies.h:102
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::GreengrassV2::Model::DeploymentPolicies::ComponentUpdatePolicyHasBeenSet
bool ComponentUpdatePolicyHasBeenSet() const
Definition: DeploymentPolicies.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::DeploymentPolicies::FailureHandlingPolicyHasBeenSet
bool FailureHandlingPolicyHasBeenSet() const
Definition: DeploymentPolicies.h:55
Aws::GreengrassV2::Model::DeploymentPolicies::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::DeploymentPolicies::WithConfigurationValidationPolicy
DeploymentPolicies & WithConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy &&value)
Definition: DeploymentPolicies.h:163
Aws::GreengrassV2::Model::DeploymentPolicies::SetFailureHandlingPolicy
void SetFailureHandlingPolicy(const DeploymentFailureHandlingPolicy &value)
Definition: DeploymentPolicies.h:62
Aws::GreengrassV2::Model::DeploymentPolicies::SetFailureHandlingPolicy
void SetFailureHandlingPolicy(DeploymentFailureHandlingPolicy &&value)
Definition: DeploymentPolicies.h:69
Aws::GreengrassV2::Model::DeploymentPolicies::ConfigurationValidationPolicyHasBeenSet
bool ConfigurationValidationPolicyHasBeenSet() const
Definition: DeploymentPolicies.h:135
Aws::GreengrassV2::Model::DeploymentPolicies::WithComponentUpdatePolicy
DeploymentPolicies & WithComponentUpdatePolicy(DeploymentComponentUpdatePolicy &&value)
Definition: DeploymentPolicies.h:120
Aws::GreengrassV2::Model::DeploymentPolicies::WithFailureHandlingPolicy
DeploymentPolicies & WithFailureHandlingPolicy(const DeploymentFailureHandlingPolicy &value)
Definition: DeploymentPolicies.h:76
Aws::GreengrassV2::Model::DeploymentPolicies::GetConfigurationValidationPolicy
const DeploymentConfigurationValidationPolicy & GetConfigurationValidationPolicy() const
Definition: DeploymentPolicies.h:128
Aws::GreengrassV2::Model::DeploymentPolicies::GetComponentUpdatePolicy
const DeploymentComponentUpdatePolicy & GetComponentUpdatePolicy() const
Definition: DeploymentPolicies.h:90