AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelRequest.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaPackage
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIAPACKAGE_API CreateChannelRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateChannel"; }
35
36 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline CreateChannelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline CreateChannelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline CreateChannelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline CreateChannelRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline CreateChannelRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline CreateChannelRequest& WithId(const char* value) { SetId(value); return *this;}
69
71
72 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
73 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
74 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
75 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
76 inline CreateChannelRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
77 inline CreateChannelRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
78 inline CreateChannelRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
79 inline CreateChannelRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
80 inline CreateChannelRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
81 inline CreateChannelRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
82 inline CreateChannelRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline CreateChannelRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
84 inline CreateChannelRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
86 private:
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 Aws::String m_id;
92 bool m_idHasBeenSet = false;
93
95 bool m_tagsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace MediaPackage
100} // namespace Aws
CreateChannelRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelRequest & WithDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelRequest & WithId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateChannelRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelRequest & AddTags(Aws::String &&key, const char *value)
CreateChannelRequest & AddTags(const char *key, Aws::String &&value)
CreateChannelRequest & WithDescription(const char *value)
CreateChannelRequest & WithDescription(const Aws::String &value)
CreateChannelRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
CreateChannelRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelRequest & AddTags(const char *key, const char *value)
CreateChannelRequest & WithId(Aws::String &&value)
CreateChannelRequest & WithId(const Aws::String &value)
CreateChannelRequest & AddTags(const Aws::String &key, const Aws::String &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