AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
49 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
50 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
52 inline CreateChannelGroupRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
53 inline CreateChannelGroupRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
55
57
61 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
64 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
65 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
66 inline CreateChannelGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
67 inline CreateChannelGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
68 inline CreateChannelGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline CreateChannelGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline CreateChannelGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline CreateChannelGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
94 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
96 inline CreateChannelGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 inline CreateChannelGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 inline CreateChannelGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateChannelGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline CreateChannelGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
101 inline CreateChannelGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline CreateChannelGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline CreateChannelGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105 private:
106
107 Aws::String m_channelGroupName;
108 bool m_channelGroupNameHasBeenSet = false;
109
110 Aws::String m_clientToken;
111 bool m_clientTokenHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
117 bool m_tagsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace mediapackagev2
122} // namespace Aws
CreateChannelGroupRequest & WithClientToken(Aws::String &&value)
CreateChannelGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateChannelGroupRequest & WithDescription(Aws::String &&value)
CreateChannelGroupRequest & WithDescription(const char *value)
CreateChannelGroupRequest & WithChannelGroupName(const Aws::String &value)
CreateChannelGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelGroupRequest & WithChannelGroupName(const char *value)
CreateChannelGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateChannelGroupRequest & WithChannelGroupName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelGroupRequest & AddTags(Aws::String &&key, const char *value)
CreateChannelGroupRequest & WithClientToken(const Aws::String &value)
CreateChannelGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelGroupRequest & AddTags(const char *key, const char *value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateChannelGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelGroupRequest & WithDescription(const Aws::String &value)
CreateChannelGroupRequest & WithClientToken(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelGroupRequest & AddTags(const char *key, Aws::String &&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