AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetRelationshipRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannelRequest.h>
9#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PartnerCentralChannel {
15namespace Model {
16
20 public:
21 AWS_PARTNERCENTRALCHANNEL_API GetRelationshipRequest() = 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 "GetRelationship"; }
28
29 AWS_PARTNERCENTRALCHANNEL_API Aws::String SerializePayload() const override;
30
31 AWS_PARTNERCENTRALCHANNEL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetCatalog() const { return m_catalog; }
38 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
39 template <typename CatalogT = Aws::String>
40 void SetCatalog(CatalogT&& value) {
41 m_catalogHasBeenSet = true;
42 m_catalog = std::forward<CatalogT>(value);
43 }
44 template <typename CatalogT = Aws::String>
46 SetCatalog(std::forward<CatalogT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetProgramManagementAccountIdentifier() const { return m_programManagementAccountIdentifier; }
57 inline bool ProgramManagementAccountIdentifierHasBeenSet() const { return m_programManagementAccountIdentifierHasBeenSet; }
58 template <typename ProgramManagementAccountIdentifierT = Aws::String>
59 void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT&& value) {
60 m_programManagementAccountIdentifierHasBeenSet = true;
61 m_programManagementAccountIdentifier = std::forward<ProgramManagementAccountIdentifierT>(value);
62 }
63 template <typename ProgramManagementAccountIdentifierT = Aws::String>
64 GetRelationshipRequest& WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT&& value) {
65 SetProgramManagementAccountIdentifier(std::forward<ProgramManagementAccountIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetIdentifier() const { return m_identifier; }
75 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
76 template <typename IdentifierT = Aws::String>
77 void SetIdentifier(IdentifierT&& value) {
78 m_identifierHasBeenSet = true;
79 m_identifier = std::forward<IdentifierT>(value);
80 }
81 template <typename IdentifierT = Aws::String>
82 GetRelationshipRequest& WithIdentifier(IdentifierT&& value) {
83 SetIdentifier(std::forward<IdentifierT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_catalog;
89
90 Aws::String m_programManagementAccountIdentifier;
91
92 Aws::String m_identifier;
93 bool m_catalogHasBeenSet = false;
94 bool m_programManagementAccountIdentifierHasBeenSet = false;
95 bool m_identifierHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace PartnerCentralChannel
100} // namespace Aws
GetRelationshipRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::String SerializePayload() const override
GetRelationshipRequest & WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PARTNERCENTRALCHANNEL_API GetRelationshipRequest()=default
void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
GetRelationshipRequest & WithCatalog(CatalogT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String