AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
GetProfileVisibilityResult.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/ProfileVisibility.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 GetProfileVisibilityResult() = default;
28 AWS_PARTNERCENTRALACCOUNT_API GetProfileVisibilityResult& 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 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 private:
130 Aws::String m_catalog;
131
132 Aws::String m_arn;
133
134 Aws::String m_id;
135
137
138 Aws::String m_profileId;
139
140 Aws::String m_requestId;
141 bool m_catalogHasBeenSet = false;
142 bool m_arnHasBeenSet = false;
143 bool m_idHasBeenSet = false;
144 bool m_visibilityHasBeenSet = false;
145 bool m_profileIdHasBeenSet = false;
146 bool m_requestIdHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace PartnerCentralAccount
151} // 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