AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateChannelGroupRequest.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace mediapackagev2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIAPACKAGEV2_API CreateChannelGroupRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateChannelGroup"; }
33
34 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
35
36 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
46 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
47 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
48 template<typename ChannelGroupNameT = Aws::String>
49 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
50 template<typename ChannelGroupNameT = Aws::String>
51 CreateChannelGroupRequest& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template<typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
63 template<typename ClientTokenT = Aws::String>
64 CreateChannelGroupRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 CreateChannelGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
89 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 CreateChannelGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
91 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
92 CreateChannelGroupRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
93 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
94 }
96 private:
97
98 Aws::String m_channelGroupName;
99 bool m_channelGroupNameHasBeenSet = false;
100
102 bool m_clientTokenHasBeenSet = true;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace mediapackagev2
113} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_MEDIAPACKAGEV2_API CreateChannelGroupRequest()=default
CreateChannelGroupRequest & WithTags(TagsT &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateChannelGroupRequest & WithChannelGroupName(ChannelGroupNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelGroupRequest & WithDescription(DescriptionT &&value)
CreateChannelGroupRequest & WithClientToken(ClientTokenT &&value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
CreateChannelGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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