AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPSYNC_API SourceApiAssociationSummary();
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
46 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
47 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
48 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
49 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
50 inline SourceApiAssociationSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
51 inline SourceApiAssociationSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
52 inline SourceApiAssociationSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
54
56
59 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
60 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
61 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
62 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
63 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
64 inline SourceApiAssociationSummary& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;}
65 inline SourceApiAssociationSummary& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
66 inline SourceApiAssociationSummary& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
68
70
73 inline const Aws::String& GetSourceApiId() const{ return m_sourceApiId; }
74 inline bool SourceApiIdHasBeenSet() const { return m_sourceApiIdHasBeenSet; }
75 inline void SetSourceApiId(const Aws::String& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = value; }
76 inline void SetSourceApiId(Aws::String&& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = std::move(value); }
77 inline void SetSourceApiId(const char* value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId.assign(value); }
78 inline SourceApiAssociationSummary& WithSourceApiId(const Aws::String& value) { SetSourceApiId(value); return *this;}
79 inline SourceApiAssociationSummary& WithSourceApiId(Aws::String&& value) { SetSourceApiId(std::move(value)); return *this;}
80 inline SourceApiAssociationSummary& WithSourceApiId(const char* value) { SetSourceApiId(value); return *this;}
82
84
87 inline const Aws::String& GetSourceApiArn() const{ return m_sourceApiArn; }
88 inline bool SourceApiArnHasBeenSet() const { return m_sourceApiArnHasBeenSet; }
89 inline void SetSourceApiArn(const Aws::String& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = value; }
90 inline void SetSourceApiArn(Aws::String&& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = std::move(value); }
91 inline void SetSourceApiArn(const char* value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn.assign(value); }
92 inline SourceApiAssociationSummary& WithSourceApiArn(const Aws::String& value) { SetSourceApiArn(value); return *this;}
93 inline SourceApiAssociationSummary& WithSourceApiArn(Aws::String&& value) { SetSourceApiArn(std::move(value)); return *this;}
94 inline SourceApiAssociationSummary& WithSourceApiArn(const char* value) { SetSourceApiArn(value); return *this;}
96
98
101 inline const Aws::String& GetMergedApiId() const{ return m_mergedApiId; }
102 inline bool MergedApiIdHasBeenSet() const { return m_mergedApiIdHasBeenSet; }
103 inline void SetMergedApiId(const Aws::String& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = value; }
104 inline void SetMergedApiId(Aws::String&& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = std::move(value); }
105 inline void SetMergedApiId(const char* value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId.assign(value); }
106 inline SourceApiAssociationSummary& WithMergedApiId(const Aws::String& value) { SetMergedApiId(value); return *this;}
107 inline SourceApiAssociationSummary& WithMergedApiId(Aws::String&& value) { SetMergedApiId(std::move(value)); return *this;}
108 inline SourceApiAssociationSummary& WithMergedApiId(const char* value) { SetMergedApiId(value); return *this;}
110
112
115 inline const Aws::String& GetMergedApiArn() const{ return m_mergedApiArn; }
116 inline bool MergedApiArnHasBeenSet() const { return m_mergedApiArnHasBeenSet; }
117 inline void SetMergedApiArn(const Aws::String& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = value; }
118 inline void SetMergedApiArn(Aws::String&& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = std::move(value); }
119 inline void SetMergedApiArn(const char* value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn.assign(value); }
120 inline SourceApiAssociationSummary& WithMergedApiArn(const Aws::String& value) { SetMergedApiArn(value); return *this;}
121 inline SourceApiAssociationSummary& WithMergedApiArn(Aws::String&& value) { SetMergedApiArn(std::move(value)); return *this;}
122 inline SourceApiAssociationSummary& WithMergedApiArn(const char* value) { SetMergedApiArn(value); return *this;}
124
126
129 inline const Aws::String& GetDescription() const{ return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
132 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
133 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
134 inline SourceApiAssociationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
135 inline SourceApiAssociationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
136 inline SourceApiAssociationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
138 private:
139
140 Aws::String m_associationId;
141 bool m_associationIdHasBeenSet = false;
142
143 Aws::String m_associationArn;
144 bool m_associationArnHasBeenSet = false;
145
146 Aws::String m_sourceApiId;
147 bool m_sourceApiIdHasBeenSet = false;
148
149 Aws::String m_sourceApiArn;
150 bool m_sourceApiArnHasBeenSet = false;
151
152 Aws::String m_mergedApiId;
153 bool m_mergedApiIdHasBeenSet = false;
154
155 Aws::String m_mergedApiArn;
156 bool m_mergedApiArnHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace AppSync
164} // namespace Aws
AWS_APPSYNC_API SourceApiAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociationSummary & WithMergedApiId(const Aws::String &value)
SourceApiAssociationSummary & WithAssociationId(const Aws::String &value)
SourceApiAssociationSummary & WithAssociationArn(const char *value)
SourceApiAssociationSummary & WithDescription(const char *value)
SourceApiAssociationSummary & WithSourceApiArn(const char *value)
SourceApiAssociationSummary & WithMergedApiId(const char *value)
SourceApiAssociationSummary & WithSourceApiId(Aws::String &&value)
SourceApiAssociationSummary & WithAssociationId(Aws::String &&value)
SourceApiAssociationSummary & WithDescription(const Aws::String &value)
SourceApiAssociationSummary & WithAssociationArn(Aws::String &&value)
SourceApiAssociationSummary & WithDescription(Aws::String &&value)
SourceApiAssociationSummary & WithSourceApiId(const char *value)
SourceApiAssociationSummary & WithAssociationArn(const Aws::String &value)
SourceApiAssociationSummary & WithMergedApiArn(const char *value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
SourceApiAssociationSummary & WithSourceApiArn(Aws::String &&value)
SourceApiAssociationSummary & WithSourceApiId(const Aws::String &value)
SourceApiAssociationSummary & WithSourceApiArn(const Aws::String &value)
SourceApiAssociationSummary & WithMergedApiArn(Aws::String &&value)
SourceApiAssociationSummary & WithAssociationId(const char *value)
AWS_APPSYNC_API SourceApiAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
SourceApiAssociationSummary & WithMergedApiId(Aws::String &&value)
SourceApiAssociationSummary & WithMergedApiArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue