AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
PutAllianceLeadContactResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
9#include <aws/partnercentral-account/model/AllianceLeadContact.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralAccount {
23namespace Model {
25 public:
26 AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult() = default;
28 AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult& operator=(
30
32
35 inline const Aws::String& GetCatalog() const { return m_catalog; }
36 template <typename CatalogT = Aws::String>
37 void SetCatalog(CatalogT&& value) {
38 m_catalogHasBeenSet = true;
39 m_catalog = std::forward<CatalogT>(value);
40 }
41 template <typename CatalogT = Aws::String>
43 SetCatalog(std::forward<CatalogT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 template <typename IdT = Aws::String>
71 void SetId(IdT&& value) {
72 m_idHasBeenSet = true;
73 m_id = std::forward<IdT>(value);
74 }
75 template <typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
78 return *this;
79 }
81
83
86 inline const AllianceLeadContact& GetAllianceLeadContact() const { return m_allianceLeadContact; }
87 template <typename AllianceLeadContactT = AllianceLeadContact>
88 void SetAllianceLeadContact(AllianceLeadContactT&& value) {
89 m_allianceLeadContactHasBeenSet = true;
90 m_allianceLeadContact = std::forward<AllianceLeadContactT>(value);
91 }
92 template <typename AllianceLeadContactT = AllianceLeadContact>
94 SetAllianceLeadContact(std::forward<AllianceLeadContactT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_catalog;
115
116 Aws::String m_arn;
117
118 Aws::String m_id;
119
120 AllianceLeadContact m_allianceLeadContact;
121
122 Aws::String m_requestId;
123 bool m_catalogHasBeenSet = false;
124 bool m_arnHasBeenSet = false;
125 bool m_idHasBeenSet = false;
126 bool m_allianceLeadContactHasBeenSet = false;
127 bool m_requestIdHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace PartnerCentralAccount
132} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult()=default
PutAllianceLeadContactResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutAllianceLeadContactResult & WithAllianceLeadContact(AllianceLeadContactT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue