AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateChannelRequest.h
1
6#pragma once
7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace repostspace
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REPOSTSPACE_API CreateChannelRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateChannel"; }
31
32 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
40 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
41 template<typename SpaceIdT = Aws::String>
42 void SetSpaceId(SpaceIdT&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::forward<SpaceIdT>(value); }
43 template<typename SpaceIdT = Aws::String>
44 CreateChannelRequest& WithSpaceId(SpaceIdT&& value) { SetSpaceId(std::forward<SpaceIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetChannelName() const { return m_channelName; }
52 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
53 template<typename ChannelNameT = Aws::String>
54 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
55 template<typename ChannelNameT = Aws::String>
56 CreateChannelRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
58
60
64 inline const Aws::String& GetChannelDescription() const { return m_channelDescription; }
65 inline bool ChannelDescriptionHasBeenSet() const { return m_channelDescriptionHasBeenSet; }
66 template<typename ChannelDescriptionT = Aws::String>
67 void SetChannelDescription(ChannelDescriptionT&& value) { m_channelDescriptionHasBeenSet = true; m_channelDescription = std::forward<ChannelDescriptionT>(value); }
68 template<typename ChannelDescriptionT = Aws::String>
69 CreateChannelRequest& WithChannelDescription(ChannelDescriptionT&& value) { SetChannelDescription(std::forward<ChannelDescriptionT>(value)); return *this;}
71 private:
72
73 Aws::String m_spaceId;
74 bool m_spaceIdHasBeenSet = false;
75
76 Aws::String m_channelName;
77 bool m_channelNameHasBeenSet = false;
78
79 Aws::String m_channelDescription;
80 bool m_channelDescriptionHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace repostspace
85} // namespace Aws
AWS_REPOSTSPACE_API CreateChannelRequest()=default
virtual const char * GetServiceRequestName() const override
CreateChannelRequest & WithSpaceId(SpaceIdT &&value)
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
CreateChannelRequest & WithChannelDescription(ChannelDescriptionT &&value)
void SetChannelDescription(ChannelDescriptionT &&value)
CreateChannelRequest & WithChannelName(ChannelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String