AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentPolicies.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/DeploymentFailureHandlingPolicy.h>
9#include <aws/greengrassv2/model/DeploymentComponentUpdatePolicy.h>
10#include <aws/greengrassv2/model/DeploymentConfigurationValidationPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GreengrassV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GREENGRASSV2_API DeploymentPolicies();
38 AWS_GREENGRASSV2_API DeploymentPolicies(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const DeploymentFailureHandlingPolicy& GetFailureHandlingPolicy() const{ return m_failureHandlingPolicy; }
50 inline bool FailureHandlingPolicyHasBeenSet() const { return m_failureHandlingPolicyHasBeenSet; }
51 inline void SetFailureHandlingPolicy(const DeploymentFailureHandlingPolicy& value) { m_failureHandlingPolicyHasBeenSet = true; m_failureHandlingPolicy = value; }
52 inline void SetFailureHandlingPolicy(DeploymentFailureHandlingPolicy&& value) { m_failureHandlingPolicyHasBeenSet = true; m_failureHandlingPolicy = std::move(value); }
56
58
62 inline const DeploymentComponentUpdatePolicy& GetComponentUpdatePolicy() const{ return m_componentUpdatePolicy; }
63 inline bool ComponentUpdatePolicyHasBeenSet() const { return m_componentUpdatePolicyHasBeenSet; }
64 inline void SetComponentUpdatePolicy(const DeploymentComponentUpdatePolicy& value) { m_componentUpdatePolicyHasBeenSet = true; m_componentUpdatePolicy = value; }
65 inline void SetComponentUpdatePolicy(DeploymentComponentUpdatePolicy&& value) { m_componentUpdatePolicyHasBeenSet = true; m_componentUpdatePolicy = std::move(value); }
69
71
76 inline const DeploymentConfigurationValidationPolicy& GetConfigurationValidationPolicy() const{ return m_configurationValidationPolicy; }
77 inline bool ConfigurationValidationPolicyHasBeenSet() const { return m_configurationValidationPolicyHasBeenSet; }
78 inline void SetConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy& value) { m_configurationValidationPolicyHasBeenSet = true; m_configurationValidationPolicy = value; }
79 inline void SetConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy&& value) { m_configurationValidationPolicyHasBeenSet = true; m_configurationValidationPolicy = std::move(value); }
83 private:
84
85 DeploymentFailureHandlingPolicy m_failureHandlingPolicy;
86 bool m_failureHandlingPolicyHasBeenSet = false;
87
88 DeploymentComponentUpdatePolicy m_componentUpdatePolicy;
89 bool m_componentUpdatePolicyHasBeenSet = false;
90
91 DeploymentConfigurationValidationPolicy m_configurationValidationPolicy;
92 bool m_configurationValidationPolicyHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GreengrassV2
97} // namespace Aws
void SetConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy &value)
DeploymentPolicies & WithConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy &&value)
DeploymentPolicies & WithConfigurationValidationPolicy(const DeploymentConfigurationValidationPolicy &value)
const DeploymentComponentUpdatePolicy & GetComponentUpdatePolicy() const
DeploymentPolicies & WithComponentUpdatePolicy(DeploymentComponentUpdatePolicy &&value)
DeploymentPolicies & WithComponentUpdatePolicy(const DeploymentComponentUpdatePolicy &value)
void SetFailureHandlingPolicy(DeploymentFailureHandlingPolicy &&value)
void SetComponentUpdatePolicy(const DeploymentComponentUpdatePolicy &value)
DeploymentPolicies & WithFailureHandlingPolicy(DeploymentFailureHandlingPolicy &&value)
void SetFailureHandlingPolicy(const DeploymentFailureHandlingPolicy &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API DeploymentPolicies & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy &&value)
void SetComponentUpdatePolicy(DeploymentComponentUpdatePolicy &&value)
const DeploymentFailureHandlingPolicy & GetFailureHandlingPolicy() const
AWS_GREENGRASSV2_API DeploymentPolicies(Aws::Utils::Json::JsonView jsonValue)
const DeploymentConfigurationValidationPolicy & GetConfigurationValidationPolicy() const
DeploymentPolicies & WithFailureHandlingPolicy(const DeploymentFailureHandlingPolicy &value)
Aws::Utils::Json::JsonValue JsonValue