7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/AggregationStatusEnum.h>
13#include <aws/ec2/model/CustomTagKeyValueResponsePair.h>
14#include <aws/ec2/model/HealthCheckPathResponseObject.h>
15#include <aws/ec2/model/IpScopeEnum.h>
16#include <aws/ec2/model/IpVersionEnum.h>
17#include <aws/ec2/model/NetworkProtocolEnum.h>
18#include <aws/ec2/model/Tag.h>
51 template <
typename ApplicationStatusCheckIdT = Aws::String>
53 m_applicationStatusCheckIdHasBeenSet =
true;
54 m_applicationStatusCheckId = std::forward<ApplicationStatusCheckIdT>(value);
56 template <
typename ApplicationStatusCheckIdT = Aws::String>
73 m_aggregationHasBeenSet =
true;
74 m_aggregation = value;
88 template <
typename HealthCheckPathsT = Aws::Vector<HealthCheckPathResponseObject>>
90 m_healthCheckPathsHasBeenSet =
true;
91 m_healthCheckPaths = std::forward<HealthCheckPathsT>(value);
93 template <
typename HealthCheckPathsT = Aws::Vector<HealthCheckPathResponseObject>>
98 template <
typename HealthCheckPathsT = HealthCheckPathResponseObject>
100 m_healthCheckPathsHasBeenSet =
true;
101 m_healthCheckPaths.emplace_back(std::forward<HealthCheckPathsT>(value));
113 m_protocolHasBeenSet =
true;
129 m_portHasBeenSet =
true;
144 template <
typename PathT = Aws::String>
146 m_pathHasBeenSet =
true;
147 m_path = std::forward<PathT>(value);
149 template <
typename PathT = Aws::String>
151 SetPath(std::forward<PathT>(value));
164 m_deviceIndexHasBeenSet =
true;
165 m_deviceIndex = value;
180 m_ipVersionHasBeenSet =
true;
196 m_ipScopeHasBeenSet =
true;
212 m_intervalHasBeenSet =
true;
229 m_timeoutHasBeenSet =
true;
246 m_failureThresholdHasBeenSet =
true;
247 m_failureThreshold = value;
263 m_successThresholdHasBeenSet =
true;
264 m_successThreshold = value;
279 template <
typename StatusCodeMatcherT = Aws::String>
281 m_statusCodeMatcherHasBeenSet =
true;
282 m_statusCodeMatcher = std::forward<StatusCodeMatcherT>(value);
284 template <
typename StatusCodeMatcherT = Aws::String>
299 m_initializationGracePeriodSecondsHasBeenSet =
true;
300 m_initializationGracePeriodSeconds = value;
314 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
316 m_lastUpdatedAtHasBeenSet =
true;
317 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
319 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
335 template <
typename TargetTagAssociationsT = Aws::Vector<CustomTagKeyValueResponsePair>>
337 m_targetTagAssociationsHasBeenSet =
true;
338 m_targetTagAssociations = std::forward<TargetTagAssociationsT>(value);
340 template <
typename TargetTagAssociationsT = Aws::Vector<CustomTagKeyValueResponsePair>>
345 template <
typename TargetTagAssociationsT = CustomTagKeyValueResponsePair>
347 m_targetTagAssociationsHasBeenSet =
true;
348 m_targetTagAssociations.emplace_back(std::forward<TargetTagAssociationsT>(value));
359 template <
typename TagsT = Aws::Vector<Tag>>
361 m_tagsHasBeenSet =
true;
362 m_tags = std::forward<TagsT>(value);
364 template <
typename TagsT = Aws::Vector<Tag>>
366 SetTags(std::forward<TagsT>(value));
369 template <
typename TagsT = Tag>
371 m_tagsHasBeenSet =
true;
372 m_tags.emplace_back(std::forward<TagsT>(value));
383 template <
typename CreationTimeT = Aws::Utils::DateTime>
385 m_creationTimeHasBeenSet =
true;
386 m_creationTime = std::forward<CreationTimeT>(value);
388 template <
typename CreationTimeT = Aws::Utils::DateTime>
401 template <
typename ModifyTimeT = Aws::Utils::DateTime>
403 m_modifyTimeHasBeenSet =
true;
404 m_modifyTime = std::forward<ModifyTimeT>(value);
406 template <
typename ModifyTimeT = Aws::Utils::DateTime>
419 template <
typename DeletionTimeT = Aws::Utils::DateTime>
421 m_deletionTimeHasBeenSet =
true;
422 m_deletionTime = std::forward<DeletionTimeT>(value);
424 template <
typename DeletionTimeT = Aws::Utils::DateTime>
443 int m_deviceIndex{0};
453 int m_failureThreshold{0};
455 int m_successThreshold{0};
459 int m_initializationGracePeriodSeconds{0};
472 bool m_applicationStatusCheckIdHasBeenSet =
false;
473 bool m_aggregationHasBeenSet =
false;
474 bool m_healthCheckPathsHasBeenSet =
false;
475 bool m_protocolHasBeenSet =
false;
476 bool m_portHasBeenSet =
false;
477 bool m_pathHasBeenSet =
false;
478 bool m_deviceIndexHasBeenSet =
false;
479 bool m_ipVersionHasBeenSet =
false;
480 bool m_ipScopeHasBeenSet =
false;
481 bool m_intervalHasBeenSet =
false;
482 bool m_timeoutHasBeenSet =
false;
483 bool m_failureThresholdHasBeenSet =
false;
484 bool m_successThresholdHasBeenSet =
false;
485 bool m_statusCodeMatcherHasBeenSet =
false;
486 bool m_initializationGracePeriodSecondsHasBeenSet =
false;
487 bool m_lastUpdatedAtHasBeenSet =
false;
488 bool m_targetTagAssociationsHasBeenSet =
false;
489 bool m_tagsHasBeenSet =
false;
490 bool m_creationTimeHasBeenSet =
false;
491 bool m_modifyTimeHasBeenSet =
false;
492 bool m_deletionTimeHasBeenSet =
false;
ApplicationStatusCheckResponseObject & WithSuccessThreshold(int value)
ApplicationStatusCheckResponseObject & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetDeletionTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AggregationHasBeenSet() const
int GetFailureThreshold() const
bool IpScopeHasBeenSet() const
ApplicationStatusCheckResponseObject & WithHealthCheckPaths(HealthCheckPathsT &&value)
bool StatusCodeMatcherHasBeenSet() const
void SetDeletionTime(DeletionTimeT &&value)
bool PortHasBeenSet() const
ApplicationStatusCheckResponseObject & WithTimeout(int value)
ApplicationStatusCheckResponseObject & WithTags(TagsT &&value)
ApplicationStatusCheckResponseObject & WithDeletionTime(DeletionTimeT &&value)
ApplicationStatusCheckResponseObject & AddHealthCheckPaths(HealthCheckPathsT &&value)
int GetDeviceIndex() const
ApplicationStatusCheckResponseObject & WithStatusCodeMatcher(StatusCodeMatcherT &&value)
ApplicationStatusCheckResponseObject & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_EC2_API ApplicationStatusCheckResponseObject & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetModifyTime(ModifyTimeT &&value)
bool DeviceIndexHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
ApplicationStatusCheckResponseObject & WithIpVersion(IpVersionEnum value)
void SetAggregation(AggregationStatusEnum value)
void SetHealthCheckPaths(HealthCheckPathsT &&value)
const Aws::String & GetPath() const
void SetDeviceIndex(int value)
bool LastUpdatedAtHasBeenSet() const
void SetTimeout(int value)
ApplicationStatusCheckResponseObject & WithFailureThreshold(int value)
bool TimeoutHasBeenSet() const
void SetProtocol(NetworkProtocolEnum value)
bool FailureThresholdHasBeenSet() const
void SetPath(PathT &&value)
bool IntervalHasBeenSet() const
bool CreationTimeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
ApplicationStatusCheckResponseObject & WithPath(PathT &&value)
const Aws::String & GetApplicationStatusCheckId() const
void SetApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
ApplicationStatusCheckResponseObject & AddTags(TagsT &&value)
ApplicationStatusCheckResponseObject & WithInterval(int value)
IpScopeEnum GetIpScope() const
const Aws::Utils::DateTime & GetCreationTime() const
int GetSuccessThreshold() const
bool ApplicationStatusCheckIdHasBeenSet() const
NetworkProtocolEnum GetProtocol() const
ApplicationStatusCheckResponseObject & AddTargetTagAssociations(TargetTagAssociationsT &&value)
ApplicationStatusCheckResponseObject & WithIpScope(IpScopeEnum value)
AggregationStatusEnum GetAggregation() const
void SetSuccessThreshold(int value)
IpVersionEnum GetIpVersion() const
bool SuccessThresholdHasBeenSet() const
void SetTargetTagAssociations(TargetTagAssociationsT &&value)
ApplicationStatusCheckResponseObject & WithProtocol(NetworkProtocolEnum value)
ApplicationStatusCheckResponseObject & WithModifyTime(ModifyTimeT &&value)
bool TargetTagAssociationsHasBeenSet() const
bool HealthCheckPathsHasBeenSet() const
const Aws::String & GetStatusCodeMatcher() const
const Aws::Vector< CustomTagKeyValueResponsePair > & GetTargetTagAssociations() const
int GetInitializationGracePeriodSeconds() const
bool ProtocolHasBeenSet() const
ApplicationStatusCheckResponseObject & WithDeviceIndex(int value)
const Aws::Utils::DateTime & GetModifyTime() const
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Vector< HealthCheckPathResponseObject > & GetHealthCheckPaths() const
bool InitializationGracePeriodSecondsHasBeenSet() const
ApplicationStatusCheckResponseObject & WithApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
const Aws::Vector< Tag > & GetTags() const
ApplicationStatusCheckResponseObject & WithPort(int value)
void SetStatusCodeMatcher(StatusCodeMatcherT &&value)
bool ModifyTimeHasBeenSet() const
bool PathHasBeenSet() const
void SetFailureThreshold(int value)
ApplicationStatusCheckResponseObject & WithInitializationGracePeriodSeconds(int value)
AWS_EC2_API ApplicationStatusCheckResponseObject(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInterval(int value)
void SetIpScope(IpScopeEnum value)
void SetInitializationGracePeriodSeconds(int value)
ApplicationStatusCheckResponseObject & WithTargetTagAssociations(TargetTagAssociationsT &&value)
bool IpVersionHasBeenSet() const
AWS_EC2_API ApplicationStatusCheckResponseObject()=default
void SetIpVersion(IpVersionEnum value)
bool DeletionTimeHasBeenSet() const
ApplicationStatusCheckResponseObject & WithAggregation(AggregationStatusEnum value)
void SetTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream