AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSourceGraphqlApiRequest.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 "AssociateSourceGraphqlApi"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetMergedApiIdentifier() const{ return m_mergedApiIdentifier; }
45 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
46 inline void SetMergedApiIdentifier(const Aws::String& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = value; }
47 inline void SetMergedApiIdentifier(Aws::String&& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = std::move(value); }
48 inline void SetMergedApiIdentifier(const char* value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier.assign(value); }
51 inline AssociateSourceGraphqlApiRequest& WithMergedApiIdentifier(const char* value) { SetMergedApiIdentifier(value); return *this;}
53
55
62 inline const Aws::String& GetSourceApiIdentifier() const{ return m_sourceApiIdentifier; }
63 inline bool SourceApiIdentifierHasBeenSet() const { return m_sourceApiIdentifierHasBeenSet; }
64 inline void SetSourceApiIdentifier(const Aws::String& value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier = value; }
65 inline void SetSourceApiIdentifier(Aws::String&& value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier = std::move(value); }
66 inline void SetSourceApiIdentifier(const char* value) { m_sourceApiIdentifierHasBeenSet = true; m_sourceApiIdentifier.assign(value); }
69 inline AssociateSourceGraphqlApiRequest& WithSourceApiIdentifier(const char* value) { SetSourceApiIdentifier(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 AssociateSourceGraphqlApiRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline AssociateSourceGraphqlApiRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline AssociateSourceGraphqlApiRequest& 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_mergedApiIdentifier;
100 bool m_mergedApiIdentifierHasBeenSet = false;
101
102 Aws::String m_sourceApiIdentifier;
103 bool m_sourceApiIdentifierHasBeenSet = 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
AssociateSourceGraphqlApiRequest & WithSourceApiIdentifier(const char *value)
AssociateSourceGraphqlApiRequest & WithSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
AssociateSourceGraphqlApiRequest & WithSourceApiIdentifier(Aws::String &&value)
AssociateSourceGraphqlApiRequest & WithDescription(Aws::String &&value)
AssociateSourceGraphqlApiRequest & WithMergedApiIdentifier(const Aws::String &value)
AssociateSourceGraphqlApiRequest & WithMergedApiIdentifier(const char *value)
void SetSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
AssociateSourceGraphqlApiRequest & WithMergedApiIdentifier(Aws::String &&value)
AssociateSourceGraphqlApiRequest & WithDescription(const Aws::String &value)
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
void SetSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
AssociateSourceGraphqlApiRequest & WithSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
AssociateSourceGraphqlApiRequest & WithSourceApiIdentifier(const Aws::String &value)
AssociateSourceGraphqlApiRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String