AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChannelRequest.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 UpdateChannelRequest() = 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 "UpdateChannel"; }
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 UpdateChannelRequest& WithSpaceId(SpaceIdT&& value) { SetSpaceId(std::forward<SpaceIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetChannelId() const { return m_channelId; }
52 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
53 template<typename ChannelIdT = Aws::String>
54 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
55 template<typename ChannelIdT = Aws::String>
56 UpdateChannelRequest& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetChannelName() const { return m_channelName; }
64 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
65 template<typename ChannelNameT = Aws::String>
66 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
67 template<typename ChannelNameT = Aws::String>
68 UpdateChannelRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetChannelDescription() const { return m_channelDescription; }
77 inline bool ChannelDescriptionHasBeenSet() const { return m_channelDescriptionHasBeenSet; }
78 template<typename ChannelDescriptionT = Aws::String>
79 void SetChannelDescription(ChannelDescriptionT&& value) { m_channelDescriptionHasBeenSet = true; m_channelDescription = std::forward<ChannelDescriptionT>(value); }
80 template<typename ChannelDescriptionT = Aws::String>
81 UpdateChannelRequest& WithChannelDescription(ChannelDescriptionT&& value) { SetChannelDescription(std::forward<ChannelDescriptionT>(value)); return *this;}
83 private:
84
85 Aws::String m_spaceId;
86 bool m_spaceIdHasBeenSet = false;
87
88 Aws::String m_channelId;
89 bool m_channelIdHasBeenSet = false;
90
91 Aws::String m_channelName;
92 bool m_channelNameHasBeenSet = false;
93
94 Aws::String m_channelDescription;
95 bool m_channelDescriptionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace repostspace
100} // namespace Aws
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
void SetChannelDescription(ChannelDescriptionT &&value)
UpdateChannelRequest & WithSpaceId(SpaceIdT &&value)
UpdateChannelRequest & WithChannelDescription(ChannelDescriptionT &&value)
UpdateChannelRequest & WithChannelId(ChannelIdT &&value)
AWS_REPOSTSPACE_API UpdateChannelRequest()=default
UpdateChannelRequest & WithChannelName(ChannelNameT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String