AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_APPSYNC_API UpdateSourceApiAssociationRequest() = 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 "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 template<typename AssociationIdT = Aws::String>
43 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
44 template<typename AssociationIdT = Aws::String>
45 UpdateSourceApiAssociationRequest& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
47
49
56 inline const Aws::String& GetMergedApiIdentifier() const { return m_mergedApiIdentifier; }
57 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
58 template<typename MergedApiIdentifierT = Aws::String>
59 void SetMergedApiIdentifier(MergedApiIdentifierT&& value) { m_mergedApiIdentifierHasBeenSet = true; m_mergedApiIdentifier = std::forward<MergedApiIdentifierT>(value); }
60 template<typename MergedApiIdentifierT = Aws::String>
61 UpdateSourceApiAssociationRequest& WithMergedApiIdentifier(MergedApiIdentifierT&& value) { SetMergedApiIdentifier(std::forward<MergedApiIdentifierT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 UpdateSourceApiAssociationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const SourceApiAssociationConfig& GetSourceApiAssociationConfig() const { return m_sourceApiAssociationConfig; }
81 inline bool SourceApiAssociationConfigHasBeenSet() const { return m_sourceApiAssociationConfigHasBeenSet; }
82 template<typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
83 void SetSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) { m_sourceApiAssociationConfigHasBeenSet = true; m_sourceApiAssociationConfig = std::forward<SourceApiAssociationConfigT>(value); }
84 template<typename SourceApiAssociationConfigT = SourceApiAssociationConfig>
85 UpdateSourceApiAssociationRequest& WithSourceApiAssociationConfig(SourceApiAssociationConfigT&& value) { SetSourceApiAssociationConfig(std::forward<SourceApiAssociationConfigT>(value)); return *this;}
87 private:
88
89 Aws::String m_associationId;
90 bool m_associationIdHasBeenSet = false;
91
92 Aws::String m_mergedApiIdentifier;
93 bool m_mergedApiIdentifierHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
98 SourceApiAssociationConfig m_sourceApiAssociationConfig;
99 bool m_sourceApiAssociationConfigHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace AppSync
104} // 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