AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MinimumHealthyHosts.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/MinimumHealthyHostsType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEDEPLOY_API MinimumHealthyHosts();
36 AWS_CODEDEPLOY_API MinimumHealthyHosts(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
65 inline const MinimumHealthyHostsType& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const MinimumHealthyHostsType& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(MinimumHealthyHostsType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline MinimumHealthyHosts& WithType(const MinimumHealthyHostsType& value) { SetType(value); return *this;}
70 inline MinimumHealthyHosts& WithType(MinimumHealthyHostsType&& value) { SetType(std::move(value)); return *this;}
72
74
77 inline int GetValue() const{ return m_value; }
78 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
79 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
80 inline MinimumHealthyHosts& WithValue(int value) { SetValue(value); return *this;}
82 private:
83
85 bool m_typeHasBeenSet = false;
86
87 int m_value;
88 bool m_valueHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodeDeploy
93} // namespace Aws
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(MinimumHealthyHostsType &&value)
MinimumHealthyHosts & WithType(MinimumHealthyHostsType &&value)
AWS_CODEDEPLOY_API MinimumHealthyHosts & operator=(Aws::Utils::Json::JsonView jsonValue)
MinimumHealthyHosts & WithType(const MinimumHealthyHostsType &value)
const MinimumHealthyHostsType & GetType() const
AWS_CODEDEPLOY_API MinimumHealthyHosts(Aws::Utils::Json::JsonView jsonValue)
void SetType(const MinimumHealthyHostsType &value)
MinimumHealthyHosts & WithValue(int value)
Aws::Utils::Json::JsonValue JsonValue