AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateSourceApiAssociationRequest.h
1
6#pragma once
7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/SourceApiAssociationConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppSync {
16namespace Model {
17
21 public:
22 AWS_APPSYNC_API UpdateSourceApiAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSourceApiAssociation"; }
29
30 AWS_APPSYNC_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAssociationId() const { return m_associationId; }
37 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
38 template <typename AssociationIdT = Aws::String>
39 void SetAssociationId(AssociationIdT&& value) {
40 m_associationIdHasBeenSet = true;
41 m_associationId = std::forward<AssociationIdT>(value);
42 }
43 template <typename AssociationIdT = Aws::String>
45 SetAssociationId(std::forward<AssociationIdT>(value));
46 return *this;
47 }
49
51
58 inline const Aws::String& GetMergedApiIdentifier() const { return m_mergedApiIdentifier; }
59 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
60 template <typename MergedApiIdentifierT = Aws::String>
61 void SetMergedApiIdentifier(MergedApiIdentifierT&& value) {
62 m_mergedApiIdentifierHasBeenSet = true;
63 m_mergedApiIdentifier = std::forward<MergedApiIdentifierT>(value);
64 }
65 template <typename MergedApiIdentifierT = Aws::String>
67 SetMergedApiIdentifier(std::forward<MergedApiIdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const { return m_sourceApiAssociationConfig; }
95 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
96 template <typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
97 void SetSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) {
98 m_sourceApiAssociationConfigHasBeenSet = true;
99 m_sourceApiAssociationConfig = std::forward<SourceApiAssociationConfigT>(value);
100 }
101 template <typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
103 SetSourceApiAssociationConfig(std::forward<SourceApiAssociationConfigT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_associationId;
109
110 Aws::String m_mergedApiIdentifier;
111
112 Aws::String m_description;
113
114 SourceApiAssociationConfig m_sourceApiAssociationConfig;
115 bool m_associationIdHasBeenSet = false;
116 bool m_mergedApiIdentifierHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_sourceApiAssociationConfigHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AppSync
123} // namespace Aws
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
UpdateSourceApiAssociationRequest & WithDescription(DescriptionT &&value)
UpdateSourceApiAssociationRequest & WithAssociationId(AssociationIdT &&value)
UpdateSourceApiAssociationRequest & WithSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
UpdateSourceApiAssociationRequest & WithMergedApiIdentifier(MergedApiIdentifierT &&value)
void SetSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String