AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateMergedGraphqlApiRequest.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/SourceApiAssociationConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppSync
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPSYNC_API AssociateMergedGraphqlApiRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateMergedGraphqlApi"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetSourceApiIdentifier() const { return m_sourceApiIdentifier; }
45 inline bool SourceApiIdentifierHasBeenSet() const { return m_sourceApiIdentifierHasBeenSet; }
46 template<typename SourceApiIdentifierT = Aws::String>
47 void SetSourceApiIdentifier(SourceApiIdentifierT&& value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier = std::forward<SourceApiIdentifierT>(value); }
48 template<typename SourceApiIdentifierT = Aws::String>
49 AssociateMergedGraphqlApiRequest& WithSourceApiIdentifier(SourceApiIdentifierT&& value) { SetSourceApiIdentifier(std::forward<SourceApiIdentifierT>(value)); return *this;}
51
53
60 inline const Aws::String& GetMergedApiIdentifier() const { return m_mergedApiIdentifier; }
61 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
62 template<typename MergedApiIdentifierT = Aws::String>
63 void SetMergedApiIdentifier(MergedApiIdentifierT&& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = std::forward<MergedApiIdentifierT>(value); }
64 template<typename MergedApiIdentifierT = Aws::String>
65 AssociateMergedGraphqlApiRequest& WithMergedApiIdentifier(MergedApiIdentifierT&& value) { SetMergedApiIdentifier(std::forward<MergedApiIdentifierT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 AssociateMergedGraphqlApiRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const { return m_sourceApiAssociationConfig; }
85 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
86 template<typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
87 void SetSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = std::forward<SourceApiAssociationConfigT>(value); }
88 template<typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
89 AssociateMergedGraphqlApiRequest& WithSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) { SetSourceApiAssociationConfig(std::forward<SourceApiAssociationConfigT>(value)); return *this;}
91 private:
92
93 Aws::String m_sourceApiIdentifier;
94 bool m_sourceApiIdentifierHasBeenSet = false;
95
96 Aws::String m_mergedApiIdentifier;
97 bool m_mergedApiIdentifierHasBeenSet = false;
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 SourceApiAssociationConfig m_sourceApiAssociationConfig;
103 bool m_sourceApiAssociationConfigHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AppSync
108} // namespace Aws
void SetSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
AssociateMergedGraphqlApiRequest & WithDescription(DescriptionT &&value)
AssociateMergedGraphqlApiRequest & WithMergedApiIdentifier(MergedApiIdentifierT &&value)
AWS_APPSYNC_API AssociateMergedGraphqlApiRequest()=default
AWS_APPSYNC_API Aws::String SerializePayload() const override
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
AssociateMergedGraphqlApiRequest & WithSourceApiAssociationConfig(SourceApiAssociationConfigT &&value)
AssociateMergedGraphqlApiRequest & WithSourceApiIdentifier(SourceApiIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String