AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSourceApiAssociationRequest.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 "UpdateSourceApiAssociation"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
41 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
42 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
43 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
44 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
46 inline UpdateSourceApiAssociationRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
47 inline UpdateSourceApiAssociationRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
49
51
58 inline const Aws::String& GetMergedApiIdentifier() const{ return m_mergedApiIdentifier; }
59 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
60 inline void SetMergedApiIdentifier(const Aws::String& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = value; }
61 inline void SetMergedApiIdentifier(Aws::String&& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = std::move(value); }
62 inline void SetMergedApiIdentifier(const char* value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier.assign(value); }
65 inline UpdateSourceApiAssociationRequest& WithMergedApiIdentifier(const char* value) { SetMergedApiIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline UpdateSourceApiAssociationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline UpdateSourceApiAssociationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline UpdateSourceApiAssociationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const{ return m_sourceApiAssociationConfig; }
87 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
88 inline void SetSourceApiAssociationConfig(const SourceApiAssociationConfig& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = value; }
89 inline void SetSourceApiAssociationConfig(SourceApiAssociationConfig&& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = std::move(value); }
93 private:
94
95 Aws::String m_associationId;
96 bool m_associationIdHasBeenSet = false;
97
98 Aws::String m_mergedApiIdentifier;
99 bool m_mergedApiIdentifierHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 SourceApiAssociationConfig m_sourceApiAssociationConfig;
105 bool m_sourceApiAssociationConfigHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace AppSync
110} // namespace Aws
UpdateSourceApiAssociationRequest & WithAssociationId(const Aws::String &value)
UpdateSourceApiAssociationRequest & WithDescription(const char *value)
UpdateSourceApiAssociationRequest & WithDescription(const Aws::String &value)
UpdateSourceApiAssociationRequest & WithSourceApiAssociationConfig(SourceApiAssociationConfig &&value)
void SetSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
const SourceApiAssociationConfig & GetSourceApiAssociationConfig() const
UpdateSourceApiAssociationRequest & WithSourceApiAssociationConfig(const SourceApiAssociationConfig &value)
UpdateSourceApiAssociationRequest & WithMergedApiIdentifier(const char *value)
UpdateSourceApiAssociationRequest & WithMergedApiIdentifier(const Aws::String &value)
UpdateSourceApiAssociationRequest & WithAssociationId(Aws::String &&value)
UpdateSourceApiAssociationRequest & WithDescription(Aws::String &&value)
UpdateSourceApiAssociationRequest & WithAssociationId(const char *value)
UpdateSourceApiAssociationRequest & WithMergedApiIdentifier(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String