AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
GatewayClusterAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/GatewayClusterAssociationStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ECS {
21namespace Model {
22
30 public:
31 AWS_ECS_API GatewayClusterAssociationSummary() = default;
35
37
40 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
41 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
42 template <typename GatewayArnT = Aws::String>
43 void SetGatewayArn(GatewayArnT&& value) {
44 m_gatewayArnHasBeenSet = true;
45 m_gatewayArn = std::forward<GatewayArnT>(value);
46 }
47 template <typename GatewayArnT = Aws::String>
49 SetGatewayArn(std::forward<GatewayArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
59 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
60 template <typename ClusterArnT = Aws::String>
61 void SetClusterArn(ClusterArnT&& value) {
62 m_clusterArnHasBeenSet = true;
63 m_clusterArn = std::forward<ClusterArnT>(value);
64 }
65 template <typename ClusterArnT = Aws::String>
67 SetClusterArn(std::forward<ClusterArnT>(value));
68 return *this;
69 }
71
73
76 inline GatewayClusterAssociationStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
87 private:
88 Aws::String m_gatewayArn;
89
90 Aws::String m_clusterArn;
91
93 bool m_gatewayArnHasBeenSet = false;
94 bool m_clusterArnHasBeenSet = false;
95 bool m_statusHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace ECS
100} // namespace Aws
GatewayClusterAssociationSummary & WithClusterArn(ClusterArnT &&value)
AWS_ECS_API GatewayClusterAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
GatewayClusterAssociationSummary & WithGatewayArn(GatewayArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayClusterAssociationSummary & WithStatus(GatewayClusterAssociationStatus value)
AWS_ECS_API GatewayClusterAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue