AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceApiAssociation.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/SourceApiAssociationConfig.h>
10#include <aws/appsync/model/SourceApiAssociationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppSync
25{
26namespace Model
27{
28
44 {
45 public:
46 AWS_APPSYNC_API SourceApiAssociation();
49 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
57 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
58 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
59 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
60 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
61 inline SourceApiAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
62 inline SourceApiAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
63 inline SourceApiAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
65
67
70 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
71 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
72 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
73 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
74 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
75 inline SourceApiAssociation& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;}
76 inline SourceApiAssociation& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
77 inline SourceApiAssociation& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
79
81
84 inline const Aws::String& GetSourceApiId() const{ return m_sourceApiId; }
85 inline bool SourceApiIdHasBeenSet() const { return m_sourceApiIdHasBeenSet; }
86 inline void SetSourceApiId(const Aws::String& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = value; }
87 inline void SetSourceApiId(Aws::String&& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = std::move(value); }
88 inline void SetSourceApiId(const char* value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId.assign(value); }
89 inline SourceApiAssociation& WithSourceApiId(const Aws::String& value) { SetSourceApiId(value); return *this;}
90 inline SourceApiAssociation& WithSourceApiId(Aws::String&& value) { SetSourceApiId(std::move(value)); return *this;}
91 inline SourceApiAssociation& WithSourceApiId(const char* value) { SetSourceApiId(value); return *this;}
93
95
98 inline const Aws::String& GetSourceApiArn() const{ return m_sourceApiArn; }
99 inline bool SourceApiArnHasBeenSet() const { return m_sourceApiArnHasBeenSet; }
100 inline void SetSourceApiArn(const Aws::String& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = value; }
101 inline void SetSourceApiArn(Aws::String&& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = std::move(value); }
102 inline void SetSourceApiArn(const char* value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn.assign(value); }
103 inline SourceApiAssociation& WithSourceApiArn(const Aws::String& value) { SetSourceApiArn(value); return *this;}
104 inline SourceApiAssociation& WithSourceApiArn(Aws::String&& value) { SetSourceApiArn(std::move(value)); return *this;}
105 inline SourceApiAssociation& WithSourceApiArn(const char* value) { SetSourceApiArn(value); return *this;}
107
109
112 inline const Aws::String& GetMergedApiArn() const{ return m_mergedApiArn; }
113 inline bool MergedApiArnHasBeenSet() const { return m_mergedApiArnHasBeenSet; }
114 inline void SetMergedApiArn(const Aws::String& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = value; }
115 inline void SetMergedApiArn(Aws::String&& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = std::move(value); }
116 inline void SetMergedApiArn(const char* value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn.assign(value); }
117 inline SourceApiAssociation& WithMergedApiArn(const Aws::String& value) { SetMergedApiArn(value); return *this;}
118 inline SourceApiAssociation& WithMergedApiArn(Aws::String&& value) { SetMergedApiArn(std::move(value)); return *this;}
119 inline SourceApiAssociation& WithMergedApiArn(const char* value) { SetMergedApiArn(value); return *this;}
121
123
126 inline const Aws::String& GetMergedApiId() const{ return m_mergedApiId; }
127 inline bool MergedApiIdHasBeenSet() const { return m_mergedApiIdHasBeenSet; }
128 inline void SetMergedApiId(const Aws::String& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = value; }
129 inline void SetMergedApiId(Aws::String&& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = std::move(value); }
130 inline void SetMergedApiId(const char* value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId.assign(value); }
131 inline SourceApiAssociation& WithMergedApiId(const Aws::String& value) { SetMergedApiId(value); return *this;}
132 inline SourceApiAssociation& WithMergedApiId(Aws::String&& value) { SetMergedApiId(std::move(value)); return *this;}
133 inline SourceApiAssociation& WithMergedApiId(const char* value) { SetMergedApiId(value); return *this;}
135
137
140 inline const Aws::String& GetDescription() const{ return m_description; }
141 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
142 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
143 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
144 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
145 inline SourceApiAssociation& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 inline SourceApiAssociation& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
147 inline SourceApiAssociation& WithDescription(const char* value) { SetDescription(value); return *this;}
149
151
154 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const{ return m_sourceApiAssociationConfig; }
155 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
156 inline void SetSourceApiAssociationConfig(const SourceApiAssociationConfig& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = value; }
157 inline void SetSourceApiAssociationConfig(SourceApiAssociationConfig&& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = std::move(value); }
161
163
166 inline const SourceApiAssociationStatus& GetSourceApiAssociationStatus() const{ return m_sourceApiAssociationStatus; }
167 inline bool SourceApiAssociationStatusHasBeenSet() const { return m_sourceApiAssociationStatusHasBeenSet; }
168 inline void SetSourceApiAssociationStatus(const SourceApiAssociationStatus& value) { m_sourceApiAssociationStatusHasBeenSet = true; m_sourceApiAssociationStatus = value; }
169 inline void SetSourceApiAssociationStatus(SourceApiAssociationStatus&& value) { m_sourceApiAssociationStatusHasBeenSet = true; m_sourceApiAssociationStatus = std::move(value); }
173
175
179 inline const Aws::String& GetSourceApiAssociationStatusDetail() const{ return m_sourceApiAssociationStatusDetail; }
180 inline bool SourceApiAssociationStatusDetailHasBeenSet() const { return m_sourceApiAssociationStatusDetailHasBeenSet; }
181 inline void SetSourceApiAssociationStatusDetail(const Aws::String& value) { m_sourceApiAssociationStatusDetailHasBeenSet = true; m_sourceApiAssociationStatusDetail = value; }
182 inline void SetSourceApiAssociationStatusDetail(Aws::String&& value) { m_sourceApiAssociationStatusDetailHasBeenSet = true; m_sourceApiAssociationStatusDetail = std::move(value); }
183 inline void SetSourceApiAssociationStatusDetail(const char* value) { m_sourceApiAssociationStatusDetailHasBeenSet = true; m_sourceApiAssociationStatusDetail.assign(value); }
188
190
194 inline const Aws::Utils::DateTime& GetLastSuccessfulMergeDate() const{ return m_lastSuccessfulMergeDate; }
195 inline bool LastSuccessfulMergeDateHasBeenSet() const { return m_lastSuccessfulMergeDateHasBeenSet; }
196 inline void SetLastSuccessfulMergeDate(const Aws::Utils::DateTime& value) { m_lastSuccessfulMergeDateHasBeenSet = true; m_lastSuccessfulMergeDate = value; }
197 inline void SetLastSuccessfulMergeDate(Aws::Utils::DateTime&& value) { m_lastSuccessfulMergeDateHasBeenSet = true; m_lastSuccessfulMergeDate = std::move(value); }
201 private:
202
203 Aws::String m_associationId;
204 bool m_associationIdHasBeenSet = false;
205
206 Aws::String m_associationArn;
207 bool m_associationArnHasBeenSet = false;
208
209 Aws::String m_sourceApiId;
210 bool m_sourceApiIdHasBeenSet = false;
211
212 Aws::String m_sourceApiArn;
213 bool m_sourceApiArnHasBeenSet = false;
214
215 Aws::String m_mergedApiArn;
216 bool m_mergedApiArnHasBeenSet = false;
217
218 Aws::String m_mergedApiId;
219 bool m_mergedApiIdHasBeenSet = false;
220
221 Aws::String m_description;
222 bool m_descriptionHasBeenSet = false;
223
224 SourceApiAssociationConfig m_sourceApiAssociationConfig;
225 bool m_sourceApiAssociationConfigHasBeenSet = false;
226
227 SourceApiAssociationStatus m_sourceApiAssociationStatus;
228 bool m_sourceApiAssociationStatusHasBeenSet = false;
229
230 Aws::String m_sourceApiAssociationStatusDetail;
231 bool m_sourceApiAssociationStatusDetailHasBeenSet = false;
232
233 Aws::Utils::DateTime m_lastSuccessfulMergeDate;
234 bool m_lastSuccessfulMergeDateHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace AppSync
239} // namespace Aws
SourceApiAssociation & WithDescription(const char *value)
void SetLastSuccessfulMergeDate(const Aws::Utils::DateTime &value)
const Aws::String & GetSourceApiAssociationStatusDetail() const
void SetSourceApiArn(const Aws::String &value)
SourceApiAssociation & WithAssociationId(const Aws::String &value)
SourceApiAssociation & WithSourceApiId(const Aws::String &value)
void SetSourceApiAssociationStatusDetail(const char *value)
const Aws::Utils::DateTime & GetLastSuccessfulMergeDate() const
SourceApiAssociation & WithLastSuccessfulMergeDate(const Aws::Utils::DateTime &value)
const SourceApiAssociationStatus & GetSourceApiAssociationStatus() const
SourceApiAssociation & WithSourceApiArn(const char *value)
SourceApiAssociation & WithSourceApiAssociationStatus(SourceApiAssociationStatus &&value)
void SetSourceApiAssociationStatusDetail(const Aws::String &value)
SourceApiAssociation & WithMergedApiArn(Aws::String &&value)
void SetAssociationArn(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
SourceApiAssociation & WithAssociationArn(const char *value)
void SetDescription(const Aws::String &value)
SourceApiAssociation & WithMergedApiId(const Aws::String &value)
AWS_APPSYNC_API SourceApiAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociation & WithSourceApiId(const char *value)
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
SourceApiAssociation & WithDescription(const Aws::String &value)
void SetAssociationId(const Aws::String &value)
SourceApiAssociation & WithSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
SourceApiAssociation & WithAssociationId(Aws::String &&value)
SourceApiAssociation & WithAssociationArn(const Aws::String &value)
SourceApiAssociation & WithLastSuccessfulMergeDate(Aws::Utils::DateTime &&value)
SourceApiAssociation & WithSourceApiArn(Aws::String &&value)
SourceApiAssociation & WithSourceApiArn(const Aws::String &value)
void SetMergedApiId(const Aws::String &value)
SourceApiAssociation & WithMergedApiId(const char *value)
SourceApiAssociation & WithMergedApiArn(const Aws::String &value)
SourceApiAssociation & WithSourceApiAssociationStatus(const SourceApiAssociationStatus &value)
AWS_APPSYNC_API SourceApiAssociation(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociation & WithSourceApiAssociationStatusDetail(Aws::String &&value)
void SetLastSuccessfulMergeDate(Aws::Utils::DateTime &&value)
SourceApiAssociation & WithSourceApiAssociationStatusDetail(const char *value)
void SetSourceApiId(const Aws::String &value)
SourceApiAssociation & WithDescription(Aws::String &&value)
void SetSourceApiAssociationStatusDetail(Aws::String &&value)
SourceApiAssociation & WithSourceApiId(Aws::String &&value)
void SetSourceApiAssociationStatus(const SourceApiAssociationStatus &value)
SourceApiAssociation & WithMergedApiId(Aws::String &&value)
SourceApiAssociation & WithSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
void SetSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
void SetSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
SourceApiAssociation & WithMergedApiArn(const char *value)
SourceApiAssociation & WithSourceApiAssociationStatusDetail(const Aws::String &value)
SourceApiAssociation & WithAssociationArn(Aws::String &&value)
SourceApiAssociation & WithAssociationId(const char *value)
void SetMergedApiArn(const Aws::String &value)
void SetSourceApiAssociationStatus(SourceApiAssociationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue