AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetProfileVisibilityResult.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/ProfileVisibility.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 GetProfileVisibilityResult() = default;
29 AWS_PARTNERCENTRALACCOUNT_API GetProfileVisibilityResult& 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
88 inline ProfileVisibility GetVisibility() const { return m_visibility; }
89 inline void SetVisibility(ProfileVisibility value) {
90 m_visibilityHasBeenSet = true;
91 m_visibility = value;
92 }
94 SetVisibility(value);
95 return *this;
96 }
98
100
103 inline const Aws::String& GetProfileId() const { return m_profileId; }
104 template <typename ProfileIdT = Aws::String>
105 void SetProfileId(ProfileIdT&& value) {
106 m_profileIdHasBeenSet = true;
107 m_profileId = std::forward<ProfileIdT>(value);
108 }
109 template <typename ProfileIdT = Aws::String>
111 SetProfileId(std::forward<ProfileIdT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_catalog;
134
135 Aws::String m_arn;
136
137 Aws::String m_id;
138
140
141 Aws::String m_profileId;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_catalogHasBeenSet = false;
146 bool m_arnHasBeenSet = false;
147 bool m_idHasBeenSet = false;
148 bool m_visibilityHasBeenSet = false;
149 bool m_profileIdHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace PartnerCentralAccount
155} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetProfileVisibilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileVisibilityResult & WithVisibility(ProfileVisibility value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileVisibilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileVisibilityResult & WithProfileId(ProfileIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileVisibilityResult()=default
GetProfileVisibilityResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue