AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MinimumHealthyHostsPerZone.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/MinimumHealthyHostsPerZoneType.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 MinimumHealthyHostsPerZone();
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const MinimumHealthyHostsPerZoneType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const MinimumHealthyHostsPerZoneType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(MinimumHealthyHostsPerZoneType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline MinimumHealthyHostsPerZone& WithType(const MinimumHealthyHostsPerZoneType& value) { SetType(value); return *this;}
51 inline MinimumHealthyHostsPerZone& WithType(MinimumHealthyHostsPerZoneType&& value) { SetType(std::move(value)); return *this;}
53
55
59 inline int GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
62 inline MinimumHealthyHostsPerZone& WithValue(int value) { SetValue(value); return *this;}
64 private:
65
67 bool m_typeHasBeenSet = false;
68
69 int m_value;
70 bool m_valueHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeDeploy
75} // namespace Aws
void SetType(MinimumHealthyHostsPerZoneType &&value)
const MinimumHealthyHostsPerZoneType & GetType() const
AWS_CODEDEPLOY_API MinimumHealthyHostsPerZone & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API MinimumHealthyHostsPerZone(Aws::Utils::Json::JsonView jsonValue)
MinimumHealthyHostsPerZone & WithType(const MinimumHealthyHostsPerZoneType &value)
MinimumHealthyHostsPerZone & WithType(MinimumHealthyHostsPerZoneType &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const MinimumHealthyHostsPerZoneType &value)
Aws::Utils::Json::JsonValue JsonValue