AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuthorization(const Authorization& value) { m_authorizationHasBeenSet = true; m_authorization = value; }
45 inline void SetAuthorization(Authorization&& value) { m_authorizationHasBeenSet = true; m_authorization = std::move(value); }
46 inline UpdatePackagingGroupRequest& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
47 inline UpdatePackagingGroupRequest& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline UpdatePackagingGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline UpdatePackagingGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline UpdatePackagingGroupRequest& WithId(const char* value) { SetId(value); return *this;}
63 private:
64
65 Authorization m_authorization;
66 bool m_authorizationHasBeenSet = false;
67
68 Aws::String m_id;
69 bool m_idHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MediaPackageVod
74} // namespace Aws
UpdatePackagingGroupRequest & WithAuthorization(const Authorization &value)
UpdatePackagingGroupRequest & WithId(const char *value)
UpdatePackagingGroupRequest & WithAuthorization(Authorization &&value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
UpdatePackagingGroupRequest & WithId(const Aws::String &value)
UpdatePackagingGroupRequest & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String