AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AuthorizationT = Authorization>
47 void SetAuthorization(AuthorizationT&& value) { m_authorizationHasBeenSet = true; m_authorization = std::forward<AuthorizationT>(value); }
48 template<typename AuthorizationT = Authorization>
49 CreatePackagingGroupRequest& WithAuthorization(AuthorizationT&& value) { SetAuthorization(std::forward<AuthorizationT>(value)); return *this;}
51
53
54 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
55 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
56 template<typename EgressAccessLogsT = EgressAccessLogs>
57 void SetEgressAccessLogs(EgressAccessLogsT&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::forward<EgressAccessLogsT>(value); }
58 template<typename EgressAccessLogsT = EgressAccessLogs>
59 CreatePackagingGroupRequest& WithEgressAccessLogs(EgressAccessLogsT&& value) { SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value)); return *this;}
61
63
66 inline const Aws::String& GetId() const { return m_id; }
67 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
68 template<typename IdT = Aws::String>
69 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
70 template<typename IdT = Aws::String>
71 CreatePackagingGroupRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
73
75
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 CreatePackagingGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
82 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
83 CreatePackagingGroupRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
84 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
85 }
87 private:
88
89 Authorization m_authorization;
90 bool m_authorizationHasBeenSet = false;
91
92 EgressAccessLogs m_egressAccessLogs;
93 bool m_egressAccessLogsHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MediaPackageVod
104} // namespace Aws
AWS_MEDIAPACKAGEVOD_API CreatePackagingGroupRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePackagingGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
CreatePackagingGroupRequest & WithEgressAccessLogs(EgressAccessLogsT &&value)
CreatePackagingGroupRequest & WithAuthorization(AuthorizationT &&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