AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SourceApiAssociationSummary.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
29 public:
30 AWS_APPSYNC_API SourceApiAssociationSummary() = default;
33 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAssociationId() const { return m_associationId; }
40 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
41 template <typename AssociationIdT = Aws::String>
42 void SetAssociationId(AssociationIdT&& value) {
43 m_associationIdHasBeenSet = true;
44 m_associationId = std::forward<AssociationIdT>(value);
45 }
46 template <typename AssociationIdT = Aws::String>
48 SetAssociationId(std::forward<AssociationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAssociationArn() const { return m_associationArn; }
58 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
59 template <typename AssociationArnT = Aws::String>
60 void SetAssociationArn(AssociationArnT&& value) {
61 m_associationArnHasBeenSet = true;
62 m_associationArn = std::forward<AssociationArnT>(value);
63 }
64 template <typename AssociationArnT = Aws::String>
66 SetAssociationArn(std::forward<AssociationArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSourceApiId() const { return m_sourceApiId; }
76 inline bool SourceApiIdHasBeenSet() const { return m_sourceApiIdHasBeenSet; }
77 template <typename SourceApiIdT = Aws::String>
78 void SetSourceApiId(SourceApiIdT&& value) {
79 m_sourceApiIdHasBeenSet = true;
80 m_sourceApiId = std::forward<SourceApiIdT>(value);
81 }
82 template <typename SourceApiIdT = Aws::String>
84 SetSourceApiId(std::forward<SourceApiIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSourceApiArn() const { return m_sourceApiArn; }
94 inline bool SourceApiArnHasBeenSet() const { return m_sourceApiArnHasBeenSet; }
95 template <typename SourceApiArnT = Aws::String>
96 void SetSourceApiArn(SourceApiArnT&& value) {
97 m_sourceApiArnHasBeenSet = true;
98 m_sourceApiArn = std::forward<SourceApiArnT>(value);
99 }
100 template <typename SourceApiArnT = Aws::String>
102 SetSourceApiArn(std::forward<SourceApiArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetMergedApiId() const { return m_mergedApiId; }
112 inline bool MergedApiIdHasBeenSet() const { return m_mergedApiIdHasBeenSet; }
113 template <typename MergedApiIdT = Aws::String>
114 void SetMergedApiId(MergedApiIdT&& value) {
115 m_mergedApiIdHasBeenSet = true;
116 m_mergedApiId = std::forward<MergedApiIdT>(value);
117 }
118 template <typename MergedApiIdT = Aws::String>
120 SetMergedApiId(std::forward<MergedApiIdT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetMergedApiArn() const { return m_mergedApiArn; }
130 inline bool MergedApiArnHasBeenSet() const { return m_mergedApiArnHasBeenSet; }
131 template <typename MergedApiArnT = Aws::String>
132 void SetMergedApiArn(MergedApiArnT&& value) {
133 m_mergedApiArnHasBeenSet = true;
134 m_mergedApiArn = std::forward<MergedApiArnT>(value);
135 }
136 template <typename MergedApiArnT = Aws::String>
138 SetMergedApiArn(std::forward<MergedApiArnT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetDescription() const { return m_description; }
148 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
149 template <typename DescriptionT = Aws::String>
150 void SetDescription(DescriptionT&& value) {
151 m_descriptionHasBeenSet = true;
152 m_description = std::forward<DescriptionT>(value);
153 }
154 template <typename DescriptionT = Aws::String>
156 SetDescription(std::forward<DescriptionT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_associationId;
162
163 Aws::String m_associationArn;
164
165 Aws::String m_sourceApiId;
166
167 Aws::String m_sourceApiArn;
168
169 Aws::String m_mergedApiId;
170
171 Aws::String m_mergedApiArn;
172
173 Aws::String m_description;
174 bool m_associationIdHasBeenSet = false;
175 bool m_associationArnHasBeenSet = false;
176 bool m_sourceApiIdHasBeenSet = false;
177 bool m_sourceApiArnHasBeenSet = false;
178 bool m_mergedApiIdHasBeenSet = false;
179 bool m_mergedApiArnHasBeenSet = false;
180 bool m_descriptionHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace AppSync
185} // namespace Aws
AWS_APPSYNC_API SourceApiAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociationSummary & WithSourceApiId(SourceApiIdT &&value)
SourceApiAssociationSummary & WithMergedApiId(MergedApiIdT &&value)
AWS_APPSYNC_API SourceApiAssociationSummary()=default
SourceApiAssociationSummary & WithDescription(DescriptionT &&value)
SourceApiAssociationSummary & WithMergedApiArn(MergedApiArnT &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
SourceApiAssociationSummary & WithSourceApiArn(SourceApiArnT &&value)
SourceApiAssociationSummary & WithAssociationId(AssociationIdT &&value)
AWS_APPSYNC_API SourceApiAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociationSummary & WithAssociationArn(AssociationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue