AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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 private:
69 Aws::String m_arn;
70
71 int m_runningCount{0};
72 bool m_arnHasBeenSet = false;
73 bool m_runningCountHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ECS
78} // namespace Aws
AWS_ECS_API DaemonCapacityProvider()=default
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