AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
UpdatePackagingGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage-vod/MediaPackageVodRequest.h>
9#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
10#include <aws/mediapackage-vod/model/Authorization.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaPackageVod {
16namespace Model {
17
25 public:
26 AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupRequest() = 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 "UpdatePackagingGroup"; }
33
34 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
35
37
38 inline const Authorization& GetAuthorization() const { return m_authorization; }
39 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
40 template <typename AuthorizationT = Authorization>
41 void SetAuthorization(AuthorizationT&& value) {
42 m_authorizationHasBeenSet = true;
43 m_authorization = std::forward<AuthorizationT>(value);
44 }
45 template <typename AuthorizationT = Authorization>
47 SetAuthorization(std::forward<AuthorizationT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69 private:
70 Authorization m_authorization;
71 bool m_authorizationHasBeenSet = false;
72
73 Aws::String m_id;
74 bool m_idHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaPackageVod
79} // namespace Aws
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
UpdatePackagingGroupRequest & WithAuthorization(AuthorizationT &&value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String