7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/repostspace/Repostspace_EXPORTS.h>
12#include <aws/repostspace/model/ChannelRole.h>
13#include <aws/repostspace/model/ChannelStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace repostspace {
39 template <
typename SpaceIdT = Aws::String>
41 m_spaceIdHasBeenSet =
true;
42 m_spaceId = std::forward<SpaceIdT>(value);
44 template <
typename SpaceIdT = Aws::String>
56 template <
typename ChannelIdT = Aws::String>
58 m_channelIdHasBeenSet =
true;
59 m_channelId = std::forward<ChannelIdT>(value);
61 template <
typename ChannelIdT = Aws::String>
73 template <
typename ChannelNameT = Aws::String>
75 m_channelNameHasBeenSet =
true;
76 m_channelName = std::forward<ChannelNameT>(value);
78 template <
typename ChannelNameT = Aws::String>
91 template <
typename ChannelDescriptionT = Aws::String>
93 m_channelDescriptionHasBeenSet =
true;
94 m_channelDescription = std::forward<ChannelDescriptionT>(value);
96 template <
typename ChannelDescriptionT = Aws::String>
108 template <
typename CreateDateTimeT = Aws::Utils::DateTime>
110 m_createDateTimeHasBeenSet =
true;
111 m_createDateTime = std::forward<CreateDateTimeT>(value);
113 template <
typename CreateDateTimeT = Aws::Utils::DateTime>
125 template <
typename DeleteDateTimeT = Aws::Utils::DateTime>
127 m_deleteDateTimeHasBeenSet =
true;
128 m_deleteDateTime = std::forward<DeleteDateTimeT>(value);
130 template <
typename DeleteDateTimeT = Aws::Utils::DateTime>
142 template <
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
144 m_channelRolesHasBeenSet =
true;
145 m_channelRoles = std::forward<ChannelRolesT>(value);
147 template <
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
152 template <
typename ChannelRolesKeyT = Aws::String,
typename ChannelRolesValueT = Aws::Vector<ChannelRole>>
154 m_channelRolesHasBeenSet =
true;
155 m_channelRoles.emplace(std::forward<ChannelRolesKeyT>(key), std::forward<ChannelRolesValueT>(value));
166 m_channelStatusHasBeenSet =
true;
167 m_channelStatus = value;
178 template <
typename RequestIdT = Aws::String>
180 m_requestIdHasBeenSet =
true;
181 m_requestId = std::forward<RequestIdT>(value);
183 template <
typename RequestIdT = Aws::String>
207 bool m_spaceIdHasBeenSet =
false;
208 bool m_channelIdHasBeenSet =
false;
209 bool m_channelNameHasBeenSet =
false;
210 bool m_channelDescriptionHasBeenSet =
false;
211 bool m_createDateTimeHasBeenSet =
false;
212 bool m_deleteDateTimeHasBeenSet =
false;
213 bool m_channelRolesHasBeenSet =
false;
214 bool m_channelStatusHasBeenSet =
false;
215 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_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