AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
UpdateConnectionPreferencesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/AccessType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralAccount {
26namespace Model {
28 public:
29 AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult& operator=(
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 template <typename CatalogT = Aws::String>
40 void SetCatalog(CatalogT&& value) {
41 m_catalogHasBeenSet = true;
42 m_catalog = std::forward<CatalogT>(value);
43 }
44 template <typename CatalogT = Aws::String>
46 SetCatalog(std::forward<CatalogT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
72 inline AccessType GetAccessType() const { return m_accessType; }
73 inline void SetAccessType(AccessType value) {
74 m_accessTypeHasBeenSet = true;
75 m_accessType = value;
76 }
78 SetAccessType(value);
79 return *this;
80 }
82
84
88 inline const Aws::Vector<Aws::String>& GetExcludedParticipantIds() const { return m_excludedParticipantIds; }
89 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
90 void SetExcludedParticipantIds(ExcludedParticipantIdsT&& value) {
91 m_excludedParticipantIdsHasBeenSet = true;
92 m_excludedParticipantIds = std::forward<ExcludedParticipantIdsT>(value);
93 }
94 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
96 SetExcludedParticipantIds(std::forward<ExcludedParticipantIdsT>(value));
97 return *this;
98 }
99 template <typename ExcludedParticipantIdsT = Aws::String>
101 m_excludedParticipantIdsHasBeenSet = true;
102 m_excludedParticipantIds.emplace_back(std::forward<ExcludedParticipantIdsT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
112 template <typename UpdatedAtT = Aws::Utils::DateTime>
113 void SetUpdatedAt(UpdatedAtT&& value) {
114 m_updatedAtHasBeenSet = true;
115 m_updatedAt = std::forward<UpdatedAtT>(value);
116 }
117 template <typename UpdatedAtT = Aws::Utils::DateTime>
119 SetUpdatedAt(std::forward<UpdatedAtT>(value));
120 return *this;
121 }
123
125
128 inline long long GetRevision() const { return m_revision; }
129 inline void SetRevision(long long value) {
130 m_revisionHasBeenSet = true;
131 m_revision = value;
132 }
134 SetRevision(value);
135 return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template <typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) {
144 m_requestIdHasBeenSet = true;
145 m_requestId = std::forward<RequestIdT>(value);
146 }
147 template <typename RequestIdT = Aws::String>
149 SetRequestId(std::forward<RequestIdT>(value));
150 return *this;
151 }
153 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
154
155 private:
156 Aws::String m_catalog;
157
158 Aws::String m_arn;
159
160 AccessType m_accessType{AccessType::NOT_SET};
161
162 Aws::Vector<Aws::String> m_excludedParticipantIds;
163
164 Aws::Utils::DateTime m_updatedAt{};
165
166 long long m_revision{0};
167
168 Aws::String m_requestId;
169 Aws::Http::HttpResponseCode m_HttpResponseCode;
170 bool m_catalogHasBeenSet = false;
171 bool m_arnHasBeenSet = false;
172 bool m_accessTypeHasBeenSet = false;
173 bool m_excludedParticipantIdsHasBeenSet = false;
174 bool m_updatedAtHasBeenSet = false;
175 bool m_revisionHasBeenSet = false;
176 bool m_requestIdHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace PartnerCentralAccount
181} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult()=default
UpdateConnectionPreferencesResult & AddExcludedParticipantIds(ExcludedParticipantIdsT &&value)
UpdateConnectionPreferencesResult & WithExcludedParticipantIds(ExcludedParticipantIdsT &&value)
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue