AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingConfigurationSummary.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/AutoScalingConfigurationStatus.h>
10#include <aws/core/utils/DateTime.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 AppRunner
24{
25namespace Model
26{
27
41 {
42 public:
46 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetAutoScalingConfigurationArn() const{ return m_autoScalingConfigurationArn; }
54 inline bool AutoScalingConfigurationArnHasBeenSet() const { return m_autoScalingConfigurationArnHasBeenSet; }
55 inline void SetAutoScalingConfigurationArn(const Aws::String& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = value; }
56 inline void SetAutoScalingConfigurationArn(Aws::String&& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = std::move(value); }
57 inline void SetAutoScalingConfigurationArn(const char* value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn.assign(value); }
62
64
68 inline const Aws::String& GetAutoScalingConfigurationName() const{ return m_autoScalingConfigurationName; }
69 inline bool AutoScalingConfigurationNameHasBeenSet() const { return m_autoScalingConfigurationNameHasBeenSet; }
70 inline void SetAutoScalingConfigurationName(const Aws::String& value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName = value; }
71 inline void SetAutoScalingConfigurationName(Aws::String&& value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName = std::move(value); }
72 inline void SetAutoScalingConfigurationName(const char* value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName.assign(value); }
77
79
84 inline int GetAutoScalingConfigurationRevision() const{ return m_autoScalingConfigurationRevision; }
85 inline bool AutoScalingConfigurationRevisionHasBeenSet() const { return m_autoScalingConfigurationRevisionHasBeenSet; }
86 inline void SetAutoScalingConfigurationRevision(int value) { m_autoScalingConfigurationRevisionHasBeenSet = true; m_autoScalingConfigurationRevision = value; }
89
91
97 inline const AutoScalingConfigurationStatus& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const AutoScalingConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(AutoScalingConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 inline AutoScalingConfigurationSummary& WithStatus(AutoScalingConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
104
106
110 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
111 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
112 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
113 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
115 inline AutoScalingConfigurationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
117
119
125 inline bool GetHasAssociatedService() const{ return m_hasAssociatedService; }
126 inline bool HasAssociatedServiceHasBeenSet() const { return m_hasAssociatedServiceHasBeenSet; }
127 inline void SetHasAssociatedService(bool value) { m_hasAssociatedServiceHasBeenSet = true; m_hasAssociatedService = value; }
130
132
140 inline bool GetIsDefault() const{ return m_isDefault; }
141 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
142 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
143 inline AutoScalingConfigurationSummary& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
145 private:
146
147 Aws::String m_autoScalingConfigurationArn;
148 bool m_autoScalingConfigurationArnHasBeenSet = false;
149
150 Aws::String m_autoScalingConfigurationName;
151 bool m_autoScalingConfigurationNameHasBeenSet = false;
152
153 int m_autoScalingConfigurationRevision;
154 bool m_autoScalingConfigurationRevisionHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
159 Aws::Utils::DateTime m_createdAt;
160 bool m_createdAtHasBeenSet = false;
161
162 bool m_hasAssociatedService;
163 bool m_hasAssociatedServiceHasBeenSet = false;
164
165 bool m_isDefault;
166 bool m_isDefaultHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace AppRunner
171} // namespace Aws
AWS_APPRUNNER_API AutoScalingConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationArn(const char *value)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationName(Aws::String &&value)
AutoScalingConfigurationSummary & WithStatus(AutoScalingConfigurationStatus &&value)
void SetStatus(const AutoScalingConfigurationStatus &value)
AutoScalingConfigurationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_APPRUNNER_API AutoScalingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationArn(Aws::String &&value)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationArn(const Aws::String &value)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationName(const char *value)
AutoScalingConfigurationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AutoScalingConfigurationSummary & WithHasAssociatedService(bool value)
AutoScalingConfigurationSummary & WithAutoScalingConfigurationName(const Aws::String &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingConfigurationSummary & WithAutoScalingConfigurationRevision(int value)
AutoScalingConfigurationSummary & WithStatus(const AutoScalingConfigurationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue