AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdatePackagingGroupRequest.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaPackageVod
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdatePackagingGroup"; }
36
37 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
38
39
41
42 inline const Authorization& GetAuthorization() const { return m_authorization; }
43 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
44 template<typename AuthorizationT = Authorization>
45 void SetAuthorization(AuthorizationT&& value) { m_authorizationHasBeenSet = true; m_authorization = std::forward<AuthorizationT>(value); }
46 template<typename AuthorizationT = Authorization>
47 UpdatePackagingGroupRequest& WithAuthorization(AuthorizationT&& value) { SetAuthorization(std::forward<AuthorizationT>(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 template<typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
58 template<typename IdT = Aws::String>
59 UpdatePackagingGroupRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
61 private:
62
63 Authorization m_authorization;
64 bool m_authorizationHasBeenSet = false;
65
66 Aws::String m_id;
67 bool m_idHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace MediaPackageVod
72} // 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