AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePackagingGroupRequest.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/MediaPackageVodRequest.h>
9#include <aws/mediapackage-vod/model/Authorization.h>
10#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaPackageVod
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_MEDIAPACKAGEVOD_API CreatePackagingGroupRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreatePackagingGroup"; }
38
39 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
40
41
43
44 inline const Authorization& GetAuthorization() const{ return m_authorization; }
45 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
46 inline void SetAuthorization(const Authorization& value) { m_authorizationHasBeenSet = true; m_authorization = value; }
47 inline void SetAuthorization(Authorization&& value) { m_authorizationHasBeenSet = true; m_authorization = std::move(value); }
48 inline CreatePackagingGroupRequest& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
49 inline CreatePackagingGroupRequest& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
51
53
54 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
55 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
56 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = value; }
57 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::move(value); }
59 inline CreatePackagingGroupRequest& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
68 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
69 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
70 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
71 inline CreatePackagingGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
72 inline CreatePackagingGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 inline CreatePackagingGroupRequest& WithId(const char* value) { SetId(value); return *this;}
75
77
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
81 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
83 inline CreatePackagingGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
84 inline CreatePackagingGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
85 inline CreatePackagingGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline CreatePackagingGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
87 inline CreatePackagingGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
88 inline CreatePackagingGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
89 inline CreatePackagingGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreatePackagingGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
92 private:
93
94 Authorization m_authorization;
95 bool m_authorizationHasBeenSet = false;
96
97 EgressAccessLogs m_egressAccessLogs;
98 bool m_egressAccessLogsHasBeenSet = false;
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
104 bool m_tagsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace MediaPackageVod
109} // namespace Aws
CreatePackagingGroupRequest & AddTags(const char *key, Aws::String &&value)
CreatePackagingGroupRequest & WithEgressAccessLogs(EgressAccessLogs &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackagingGroupRequest & WithId(const Aws::String &value)
CreatePackagingGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePackagingGroupRequest & WithAuthorization(const Authorization &value)
CreatePackagingGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePackagingGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePackagingGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePackagingGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePackagingGroupRequest & AddTags(Aws::String &&key, const char *value)
CreatePackagingGroupRequest & WithAuthorization(Authorization &&value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
CreatePackagingGroupRequest & WithEgressAccessLogs(const EgressAccessLogs &value)
CreatePackagingGroupRequest & AddTags(const char *key, const char *value)
CreatePackagingGroupRequest & WithId(Aws::String &&value)
CreatePackagingGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackagingGroupRequest & WithId(const char *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