AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetSourceApiAssociationRequest.h
1
6#pragma once
7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppSync {
15namespace Model {
16
20 public:
21 AWS_APPSYNC_API GetSourceApiAssociationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetSourceApiAssociation"; }
28
29 AWS_APPSYNC_API Aws::String SerializePayload() const override;
30
32
39 inline const Aws::String& GetMergedApiIdentifier() const { return m_mergedApiIdentifier; }
40 inline bool MergedApiIdentifierHasBeenSet() const { return m_mergedApiIdentifierHasBeenSet; }
41 template <typename MergedApiIdentifierT = Aws::String>
42 void SetMergedApiIdentifier(MergedApiIdentifierT&& value) {
43 m_mergedApiIdentifierHasBeenSet = true;
44 m_mergedApiIdentifier = std::forward<MergedApiIdentifierT>(value);
45 }
46 template <typename MergedApiIdentifierT = Aws::String>
48 SetMergedApiIdentifier(std::forward<MergedApiIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAssociationId() const { return m_associationId; }
58 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
59 template <typename AssociationIdT = Aws::String>
60 void SetAssociationId(AssociationIdT&& value) {
61 m_associationIdHasBeenSet = true;
62 m_associationId = std::forward<AssociationIdT>(value);
63 }
64 template <typename AssociationIdT = Aws::String>
66 SetAssociationId(std::forward<AssociationIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_mergedApiIdentifier;
72
73 Aws::String m_associationId;
74 bool m_mergedApiIdentifierHasBeenSet = false;
75 bool m_associationIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AppSync
80} // namespace Aws
AWS_APPSYNC_API Aws::String SerializePayload() const override
GetSourceApiAssociationRequest & WithAssociationId(AssociationIdT &&value)
GetSourceApiAssociationRequest & WithMergedApiIdentifier(MergedApiIdentifierT &&value)
AWS_APPSYNC_API GetSourceApiAssociationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String