AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
DaemonCapacityProvider.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
29 public:
30 AWS_ECS_API DaemonCapacityProvider() = default;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline int GetRunningCount() const { return m_runningCount; }
58 inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
59 inline void SetRunningCount(int value) {
60 m_runningCountHasBeenSet = true;
61 m_runningCount = value;
62 }
64 SetRunningCount(value);
65 return *this;
66 }
68
70
77 inline int GetWithoutDaemonCount() const { return m_withoutDaemonCount; }
78 inline bool WithoutDaemonCountHasBeenSet() const { return m_withoutDaemonCountHasBeenSet; }
79 inline void SetWithoutDaemonCount(int value) {
80 m_withoutDaemonCountHasBeenSet = true;
81 m_withoutDaemonCount = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_arn;
90
91 int m_runningCount{0};
92
93 int m_withoutDaemonCount{0};
94 bool m_arnHasBeenSet = false;
95 bool m_runningCountHasBeenSet = false;
96 bool m_withoutDaemonCountHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ECS
101} // namespace Aws
AWS_ECS_API DaemonCapacityProvider()=default
DaemonCapacityProvider & WithWithoutDaemonCount(int value)
DaemonCapacityProvider & WithRunningCount(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API DaemonCapacityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
DaemonCapacityProvider & WithArn(ArnT &&value)
AWS_ECS_API DaemonCapacityProvider(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue