AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
UpdatedExpressGatewayService.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/ExpressGatewayServiceConfiguration.h>
11#include <aws/ecs/model/ExpressGatewayServiceStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS {
23namespace Model {
24
32 public:
33 AWS_ECS_API UpdatedExpressGatewayService() = default;
37
39
42 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
43 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
44 template <typename ServiceArnT = Aws::String>
45 void SetServiceArn(ServiceArnT&& value) {
46 m_serviceArnHasBeenSet = true;
47 m_serviceArn = std::forward<ServiceArnT>(value);
48 }
49 template <typename ServiceArnT = Aws::String>
51 SetServiceArn(std::forward<ServiceArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetCluster() const { return m_cluster; }
61 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
62 template <typename ClusterT = Aws::String>
63 void SetCluster(ClusterT&& value) {
64 m_clusterHasBeenSet = true;
65 m_cluster = std::forward<ClusterT>(value);
66 }
67 template <typename ClusterT = Aws::String>
69 SetCluster(std::forward<ClusterT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetServiceName() const { return m_serviceName; }
79 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
80 template <typename ServiceNameT = Aws::String>
81 void SetServiceName(ServiceNameT&& value) {
82 m_serviceNameHasBeenSet = true;
83 m_serviceName = std::forward<ServiceNameT>(value);
84 }
85 template <typename ServiceNameT = Aws::String>
87 SetServiceName(std::forward<ServiceNameT>(value));
88 return *this;
89 }
91
93
96 inline const ExpressGatewayServiceStatus& GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 template <typename StatusT = ExpressGatewayServiceStatus>
99 void SetStatus(StatusT&& value) {
100 m_statusHasBeenSet = true;
101 m_status = std::forward<StatusT>(value);
102 }
103 template <typename StatusT = ExpressGatewayServiceStatus>
105 SetStatus(std::forward<StatusT>(value));
106 return *this;
107 }
109
111
115 inline const ExpressGatewayServiceConfiguration& GetTargetConfiguration() const { return m_targetConfiguration; }
116 inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; }
117 template <typename TargetConfigurationT = ExpressGatewayServiceConfiguration>
118 void SetTargetConfiguration(TargetConfigurationT&& value) {
119 m_targetConfigurationHasBeenSet = true;
120 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
121 }
122 template <typename TargetConfigurationT = ExpressGatewayServiceConfiguration>
124 SetTargetConfiguration(std::forward<TargetConfigurationT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
135 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
136 template <typename CreatedAtT = Aws::Utils::DateTime>
137 void SetCreatedAt(CreatedAtT&& value) {
138 m_createdAtHasBeenSet = true;
139 m_createdAt = std::forward<CreatedAtT>(value);
140 }
141 template <typename CreatedAtT = Aws::Utils::DateTime>
143 SetCreatedAt(std::forward<CreatedAtT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
154 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
155 template <typename UpdatedAtT = Aws::Utils::DateTime>
156 void SetUpdatedAt(UpdatedAtT&& value) {
157 m_updatedAtHasBeenSet = true;
158 m_updatedAt = std::forward<UpdatedAtT>(value);
159 }
160 template <typename UpdatedAtT = Aws::Utils::DateTime>
162 SetUpdatedAt(std::forward<UpdatedAtT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_serviceArn;
168
169 Aws::String m_cluster;
170
171 Aws::String m_serviceName;
172
174
175 ExpressGatewayServiceConfiguration m_targetConfiguration;
176
177 Aws::Utils::DateTime m_createdAt{};
178
179 Aws::Utils::DateTime m_updatedAt{};
180 bool m_serviceArnHasBeenSet = false;
181 bool m_clusterHasBeenSet = false;
182 bool m_serviceNameHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_targetConfigurationHasBeenSet = false;
185 bool m_createdAtHasBeenSet = false;
186 bool m_updatedAtHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace ECS
191} // namespace Aws
UpdatedExpressGatewayService & WithServiceArn(ServiceArnT &&value)
UpdatedExpressGatewayService & WithUpdatedAt(UpdatedAtT &&value)
const ExpressGatewayServiceStatus & GetStatus() const
UpdatedExpressGatewayService & WithStatus(StatusT &&value)
AWS_ECS_API UpdatedExpressGatewayService()=default
const ExpressGatewayServiceConfiguration & GetTargetConfiguration() const
AWS_ECS_API UpdatedExpressGatewayService(Aws::Utils::Json::JsonView jsonValue)
UpdatedExpressGatewayService & WithTargetConfiguration(TargetConfigurationT &&value)
UpdatedExpressGatewayService & WithCluster(ClusterT &&value)
UpdatedExpressGatewayService & WithCreatedAt(CreatedAtT &&value)
AWS_ECS_API UpdatedExpressGatewayService & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdatedExpressGatewayService & WithServiceName(ServiceNameT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue