AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
GetAllianceLeadContactResult.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 GetAllianceLeadContactResult() = default;
28 AWS_PARTNERCENTRALACCOUNT_API GetAllianceLeadContactResult& 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
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 private:
115 Aws::String m_catalog;
116
117 Aws::String m_arn;
118
119 Aws::String m_id;
120
121 AllianceLeadContact m_allianceLeadContact;
122
123 Aws::String m_requestId;
124 bool m_catalogHasBeenSet = false;
125 bool m_arnHasBeenSet = false;
126 bool m_idHasBeenSet = false;
127 bool m_allianceLeadContactHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace PartnerCentralAccount
133} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetAllianceLeadContactResult()=default
AWS_PARTNERCENTRALACCOUNT_API GetAllianceLeadContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAllianceLeadContactResult & WithAllianceLeadContact(AllianceLeadContactT &&value)
GetAllianceLeadContactResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetAllianceLeadContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue