AWS SDK for C++

AWS SDK for C++ Version 1.11.764

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