AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
PutAllianceLeadContactResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/AllianceLeadContact.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralAccount {
24namespace Model {
26 public:
27 AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult() = default;
29 AWS_PARTNERCENTRALACCOUNT_API PutAllianceLeadContactResult& operator=(
31
33
36 inline const Aws::String& GetCatalog() const { return m_catalog; }
37 template <typename CatalogT = Aws::String>
38 void SetCatalog(CatalogT&& value) {
39 m_catalogHasBeenSet = true;
40 m_catalog = std::forward<CatalogT>(value);
41 }
42 template <typename CatalogT = Aws::String>
44 SetCatalog(std::forward<CatalogT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 template <typename IdT = Aws::String>
72 void SetId(IdT&& value) {
73 m_idHasBeenSet = true;
74 m_id = std::forward<IdT>(value);
75 }
76 template <typename IdT = Aws::String>
78 SetId(std::forward<IdT>(value));
79 return *this;
80 }
82
84
87 inline const AllianceLeadContact& GetAllianceLeadContact() const { return m_allianceLeadContact; }
88 template <typename AllianceLeadContactT = AllianceLeadContact>
89 void SetAllianceLeadContact(AllianceLeadContactT&& value) {
90 m_allianceLeadContactHasBeenSet = true;
91 m_allianceLeadContact = std::forward<AllianceLeadContactT>(value);
92 }
93 template <typename AllianceLeadContactT = AllianceLeadContact>
95 SetAllianceLeadContact(std::forward<AllianceLeadContactT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_catalog;
118
119 Aws::String m_arn;
120
121 Aws::String m_id;
122
123 AllianceLeadContact m_allianceLeadContact;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_catalogHasBeenSet = false;
128 bool m_arnHasBeenSet = false;
129 bool m_idHasBeenSet = false;
130 bool m_allianceLeadContactHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace PartnerCentralAccount
136} // 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