7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/repostspace/Repostspace_EXPORTS.h>
13#include <aws/repostspace/model/ChannelRole.h>
14#include <aws/repostspace/model/ChannelStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace repostspace {
40 template <
typename SpaceIdT = Aws::String>
42 m_spaceIdHasBeenSet =
true;
43 m_spaceId = std::forward<SpaceIdT>(value);
45 template <
typename SpaceIdT = Aws::String>
57 template <
typename ChannelIdT = Aws::String>
59 m_channelIdHasBeenSet =
true;
60 m_channelId = std::forward<ChannelIdT>(value);
62 template <
typename ChannelIdT = Aws::String>
74 template <
typename ChannelNameT = Aws::String>
76 m_channelNameHasBeenSet =
true;
77 m_channelName = std::forward<ChannelNameT>(value);
79 template <
typename ChannelNameT = Aws::String>
92 template <
typename ChannelDescriptionT = Aws::String>
94 m_channelDescriptionHasBeenSet =
true;
95 m_channelDescription = std::forward<ChannelDescriptionT>(value);
97 template <
typename ChannelDescriptionT = Aws::String>
109 template <
typename CreateDateTimeT = Aws::Utils::DateTime>
111 m_createDateTimeHasBeenSet =
true;
112 m_createDateTime = std::forward<CreateDateTimeT>(value);
114 template <
typename CreateDateTimeT = Aws::Utils::DateTime>
126 template <
typename DeleteDateTimeT = Aws::Utils::DateTime>
128 m_deleteDateTimeHasBeenSet =
true;
129 m_deleteDateTime = std::forward<DeleteDateTimeT>(value);
131 template <
typename DeleteDateTimeT = Aws::Utils::DateTime>
143 template <
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
145 m_channelRolesHasBeenSet =
true;
146 m_channelRoles = std::forward<ChannelRolesT>(value);
148 template <
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
153 template <
typename ChannelRolesKeyT = Aws::String,
typename ChannelRolesValueT = Aws::Vector<ChannelRole>>
155 m_channelRolesHasBeenSet =
true;
156 m_channelRoles.emplace(std::forward<ChannelRolesKeyT>(key), std::forward<ChannelRolesValueT>(value));
167 m_channelStatusHasBeenSet =
true;
168 m_channelStatus = value;
179 template <
typename RequestIdT = Aws::String>
181 m_requestIdHasBeenSet =
true;
182 m_requestId = std::forward<RequestIdT>(value);
184 template <
typename RequestIdT = Aws::String>
211 bool m_spaceIdHasBeenSet =
false;
212 bool m_channelIdHasBeenSet =
false;
213 bool m_channelNameHasBeenSet =
false;
214 bool m_channelDescriptionHasBeenSet =
false;
215 bool m_createDateTimeHasBeenSet =
false;
216 bool m_deleteDateTimeHasBeenSet =
false;
217 bool m_channelRolesHasBeenSet =
false;
218 bool m_channelStatusHasBeenSet =
false;
219 bool m_requestIdHasBeenSet =
false;
GetChannelResult & WithCreateDateTime(CreateDateTimeT &&value)
void SetChannelId(ChannelIdT &&value)
GetChannelResult & WithChannelStatus(ChannelStatus value)
GetChannelResult & WithSpaceId(SpaceIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetSpaceId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_REPOSTSPACE_API GetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ChannelStatus GetChannelStatus() const
void SetCreateDateTime(CreateDateTimeT &&value)
void SetSpaceId(SpaceIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetDeleteDateTime(DeleteDateTimeT &&value)
GetChannelResult & WithChannelId(ChannelIdT &&value)
void SetChannelStatus(ChannelStatus value)
GetChannelResult & WithChannelRoles(ChannelRolesT &&value)
void SetChannelName(ChannelNameT &&value)
void SetChannelDescription(ChannelDescriptionT &&value)
AWS_REPOSTSPACE_API GetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelResult & WithRequestId(RequestIdT &&value)
void SetChannelRoles(ChannelRolesT &&value)
const Aws::Utils::DateTime & GetCreateDateTime() const
const Aws::Map< Aws::String, Aws::Vector< ChannelRole > > & GetChannelRoles() const
const Aws::String & GetChannelName() const
GetChannelResult & WithChannelDescription(ChannelDescriptionT &&value)
const Aws::Utils::DateTime & GetDeleteDateTime() const
GetChannelResult & WithDeleteDateTime(DeleteDateTimeT &&value)
const Aws::String & GetChannelDescription() const
const Aws::String & GetChannelId() const
AWS_REPOSTSPACE_API GetChannelResult()=default
GetChannelResult & AddChannelRoles(ChannelRolesKeyT &&key, ChannelRolesValueT &&value)
GetChannelResult & WithChannelName(ChannelNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue