AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AssociationIdT = Aws::String>
48 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
49 template<typename AssociationIdT = Aws::String>
50 SourceApiAssociationSummary& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
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) { m_associationArnHasBeenSet = true; m_associationArn = std::forward<AssociationArnT>(value); }
61 template<typename AssociationArnT = Aws::String>
62 SourceApiAssociationSummary& WithAssociationArn(AssociationArnT&& value) { SetAssociationArn(std::forward<AssociationArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSourceApiId() const { return m_sourceApiId; }
70 inline bool SourceApiIdHasBeenSet() const { return m_sourceApiIdHasBeenSet; }
71 template<typename SourceApiIdT = Aws::String>
72 void SetSourceApiId(SourceApiIdT&& value) { m_sourceApiIdHasBeenSet = true; m_sourceApiId = std::forward<SourceApiIdT>(value); }
73 template<typename SourceApiIdT = Aws::String>
74 SourceApiAssociationSummary& WithSourceApiId(SourceApiIdT&& value) { SetSourceApiId(std::forward<SourceApiIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSourceApiArn() const { return m_sourceApiArn; }
82 inline bool SourceApiArnHasBeenSet() const { return m_sourceApiArnHasBeenSet; }
83 template<typename SourceApiArnT = Aws::String>
84 void SetSourceApiArn(SourceApiArnT&& value) { m_sourceApiArnHasBeenSet = true; m_sourceApiArn = std::forward<SourceApiArnT>(value); }
85 template<typename SourceApiArnT = Aws::String>
86 SourceApiAssociationSummary& WithSourceApiArn(SourceApiArnT&& value) { SetSourceApiArn(std::forward<SourceApiArnT>(value)); return *this;}
88
90
93 inline const Aws::String& GetMergedApiId() const { return m_mergedApiId; }
94 inline bool MergedApiIdHasBeenSet() const { return m_mergedApiIdHasBeenSet; }
95 template<typename MergedApiIdT = Aws::String>
96 void SetMergedApiId(MergedApiIdT&& value) { m_mergedApiIdHasBeenSet = true; m_mergedApiId = std::forward<MergedApiIdT>(value); }
97 template<typename MergedApiIdT = Aws::String>
98 SourceApiAssociationSummary& WithMergedApiId(MergedApiIdT&& value) { SetMergedApiId(std::forward<MergedApiIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetMergedApiArn() const { return m_mergedApiArn; }
106 inline bool MergedApiArnHasBeenSet() const { return m_mergedApiArnHasBeenSet; }
107 template<typename MergedApiArnT = Aws::String>
108 void SetMergedApiArn(MergedApiArnT&& value) { m_mergedApiArnHasBeenSet = true; m_mergedApiArn = std::forward<MergedApiArnT>(value); }
109 template<typename MergedApiArnT = Aws::String>
110 SourceApiAssociationSummary& WithMergedApiArn(MergedApiArnT&& value) { SetMergedApiArn(std::forward<MergedApiArnT>(value)); return *this;}
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 SourceApiAssociationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124 private:
125
126 Aws::String m_associationId;
127 bool m_associationIdHasBeenSet = false;
128
129 Aws::String m_associationArn;
130 bool m_associationArnHasBeenSet = false;
131
132 Aws::String m_sourceApiId;
133 bool m_sourceApiIdHasBeenSet = false;
134
135 Aws::String m_sourceApiArn;
136 bool m_sourceApiArnHasBeenSet = false;
137
138 Aws::String m_mergedApiId;
139 bool m_mergedApiIdHasBeenSet = false;
140
141 Aws::String m_mergedApiArn;
142 bool m_mergedApiArnHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace AppSync
150} // 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