AWS SDK for C++  1.8.71
AWS SDK for C++
UpdatePackagingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaPackageVod
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
39 
40 
41  inline const Authorization& GetAuthorization() const{ return m_authorization; }
42 
43 
44  inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
45 
46 
47  inline void SetAuthorization(const Authorization& value) { m_authorizationHasBeenSet = true; m_authorization = value; }
48 
49 
50  inline void SetAuthorization(Authorization&& value) { m_authorizationHasBeenSet = true; m_authorization = std::move(value); }
51 
52 
53  inline UpdatePackagingGroupRequest& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
54 
55 
56  inline UpdatePackagingGroupRequest& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
57 
58 
62  inline const Aws::String& GetId() const{ return m_id; }
63 
67  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
68 
72  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
73 
77  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
78 
82  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
83 
87  inline UpdatePackagingGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
88 
92  inline UpdatePackagingGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
93 
97  inline UpdatePackagingGroupRequest& WithId(const char* value) { SetId(value); return *this;}
98 
99  private:
100 
101  Authorization m_authorization;
102  bool m_authorizationHasBeenSet;
103 
104  Aws::String m_id;
105  bool m_idHasBeenSet;
106  };
107 
108 } // namespace Model
109 } // namespace MediaPackageVod
110 } // namespace Aws
UpdatePackagingGroupRequest & WithId(const char *value)
#define AWS_MEDIAPACKAGEVOD_API
UpdatePackagingGroupRequest & WithId(Aws::String &&value)
UpdatePackagingGroupRequest & WithId(const Aws::String &value)
UpdatePackagingGroupRequest & WithAuthorization(Authorization &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdatePackagingGroupRequest & WithAuthorization(const Authorization &value)