7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/repostspace/model/ChannelStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/repostspace/model/ChannelRole.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename SpaceIdT = Aws::String>
46 void SetSpaceId(SpaceIdT&& value) { m_spaceIdHasBeenSet =
true; m_spaceId = std::forward<SpaceIdT>(value); }
47 template<
typename SpaceIdT = Aws::String>
56 template<
typename ChannelIdT = Aws::String>
57 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet =
true; m_channelId = std::forward<ChannelIdT>(value); }
58 template<
typename ChannelIdT = Aws::String>
67 template<
typename ChannelNameT = Aws::String>
68 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet =
true; m_channelName = std::forward<ChannelNameT>(value); }
69 template<
typename ChannelNameT = Aws::String>
79 template<
typename ChannelDescriptionT = Aws::String>
80 void SetChannelDescription(ChannelDescriptionT&& value) { m_channelDescriptionHasBeenSet =
true; m_channelDescription = std::forward<ChannelDescriptionT>(value); }
81 template<
typename ChannelDescriptionT = Aws::String>
90 template<
typename CreateDateTimeT = Aws::Utils::DateTime>
91 void SetCreateDateTime(CreateDateTimeT&& value) { m_createDateTimeHasBeenSet =
true; m_createDateTime = std::forward<CreateDateTimeT>(value); }
92 template<
typename CreateDateTimeT = Aws::Utils::DateTime>
101 template<
typename DeleteDateTimeT = Aws::Utils::DateTime>
102 void SetDeleteDateTime(DeleteDateTimeT&& value) { m_deleteDateTimeHasBeenSet =
true; m_deleteDateTime = std::forward<DeleteDateTimeT>(value); }
103 template<
typename DeleteDateTimeT = Aws::Utils::DateTime>
112 template<
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
113 void SetChannelRoles(ChannelRolesT&& value) { m_channelRolesHasBeenSet =
true; m_channelRoles = std::forward<ChannelRolesT>(value); }
114 template<
typename ChannelRolesT = Aws::Map<Aws::String, Aws::Vector<ChannelRole>>>
116 template<
typename ChannelRolesKeyT = Aws::String,
typename ChannelRolesValueT = Aws::Vector<ChannelRole>>
118 m_channelRolesHasBeenSet =
true; m_channelRoles.emplace(std::forward<ChannelRolesKeyT>(key), std::forward<ChannelRolesValueT>(value));
return *
this;
134 template<
typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
136 template<
typename RequestIdT = Aws::String>
142 bool m_spaceIdHasBeenSet =
false;
145 bool m_channelIdHasBeenSet =
false;
148 bool m_channelNameHasBeenSet =
false;
151 bool m_channelDescriptionHasBeenSet =
false;
154 bool m_createDateTimeHasBeenSet =
false;
157 bool m_deleteDateTimeHasBeenSet =
false;
160 bool m_channelRolesHasBeenSet =
false;
163 bool m_channelStatusHasBeenSet =
false;
166 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