AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSourceApiIdentifier(const Aws::String& value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier = value; }
47 inline void SetSourceApiIdentifier(Aws::String&& value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier = std::move(value); }
48 inline void SetSourceApiIdentifier(const char* value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier.assign(value); }
51 inline AssociateMergedGraphqlApiRequest& WithSourceApiIdentifier(const char* value) { SetSourceApiIdentifier(value); return *this;}
53
55
62 inline const Aws::String& GetMergedApiIdentifier() const{ return m_mergedApiIdentifier; }
63 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
64 inline void SetMergedApiIdentifier(const Aws::String& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = value; }
65 inline void SetMergedApiIdentifier(Aws::String&& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = std::move(value); }
66 inline void SetMergedApiIdentifier(const char* value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier.assign(value); }
69 inline AssociateMergedGraphqlApiRequest& WithMergedApiIdentifier(const char* value) { SetMergedApiIdentifier(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline AssociateMergedGraphqlApiRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline AssociateMergedGraphqlApiRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline AssociateMergedGraphqlApiRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const{ return m_sourceApiAssociationConfig; }
91 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
92 inline void SetSourceApiAssociationConfig(const SourceApiAssociationConfig& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = value; }
93 inline void SetSourceApiAssociationConfig(SourceApiAssociationConfig&& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = std::move(value); }
97 private:
98
99 Aws::String m_sourceApiIdentifier;
100 bool m_sourceApiIdentifierHasBeenSet = false;
101
102 Aws::String m_mergedApiIdentifier;
103 bool m_mergedApiIdentifierHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 SourceApiAssociationConfig m_sourceApiAssociationConfig;
109 bool m_sourceApiAssociationConfigHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AppSync
114} // namespace Aws
AssociateMergedGraphqlApiRequest & WithSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
AssociateMergedGraphqlApiRequest & WithMergedApiIdentifier(const char *value)
AssociateMergedGraphqlApiRequest & WithDescription(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
AssociateMergedGraphqlApiRequest & WithSourceApiIdentifier(Aws::String &&value)
AssociateMergedGraphqlApiRequest & WithMergedApiIdentifier(const Aws::String &value)
AssociateMergedGraphqlApiRequest & WithSourceApiIdentifier(const Aws::String &value)
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
AssociateMergedGraphqlApiRequest & WithSourceApiIdentifier(const char *value)
void SetSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
AssociateMergedGraphqlApiRequest & WithMergedApiIdentifier(Aws::String &&value)
AssociateMergedGraphqlApiRequest & WithSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
AssociateMergedGraphqlApiRequest & WithDescription(const char *value)
void SetSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
AssociateMergedGraphqlApiRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String