AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateChannelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaPackage
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetDescription() const{ return m_description; }
42 
46  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 
51  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
52 
56  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 
61  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 
66  inline UpdateChannelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 
71  inline UpdateChannelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 
76  inline UpdateChannelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77 
78 
82  inline const Aws::String& GetId() const{ return m_id; }
83 
87  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 
92  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
93 
97  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
98 
102  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
103 
107  inline UpdateChannelRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
108 
112  inline UpdateChannelRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 
117  inline UpdateChannelRequest& WithId(const char* value) { SetId(value); return *this;}
118 
119  private:
120 
121  Aws::String m_description;
122  bool m_descriptionHasBeenSet;
123 
124  Aws::String m_id;
125  bool m_idHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace MediaPackage
130 } // namespace Aws
Aws::MediaPackage::Model::UpdateChannelRequest::UpdateChannelRequest
UpdateChannelRequest()
MediaPackageRequest.h
Aws::MediaPackage::Model::UpdateChannelRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateChannelRequest.h:41
Aws::MediaPackage::Model::UpdateChannelRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateChannelRequest.h:46
AWS_MEDIAPACKAGE_API
#define AWS_MEDIAPACKAGE_API
Definition: MediaPackage_EXPORTS.h:28
Aws::MediaPackage::Model::UpdateChannelRequest::WithId
UpdateChannelRequest & WithId(Aws::String &&value)
Definition: UpdateChannelRequest.h:112
Aws::MediaPackage::Model::UpdateChannelRequest::WithDescription
UpdateChannelRequest & WithDescription(const char *value)
Definition: UpdateChannelRequest.h:76
Aws::MediaPackage::Model::UpdateChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateChannelRequest.h:33
Aws::MediaPackage::Model::UpdateChannelRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdateChannelRequest.h:92
Aws::MediaPackage::Model::UpdateChannelRequest::WithDescription
UpdateChannelRequest & WithDescription(const Aws::String &value)
Definition: UpdateChannelRequest.h:66
Aws::MediaPackage::Model::UpdateChannelRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateChannelRequest.h:61
Aws::MediaPackage::Model::UpdateChannelRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateChannelRequest.h:87
Aws::MediaPackage::Model::UpdateChannelRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateChannelRequest.h:56
AWSString.h
Aws::MediaPackage::Model::UpdateChannelRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateChannelRequest.h:51
Aws::MediaPackage::Model::UpdateChannelRequest::WithId
UpdateChannelRequest & WithId(const Aws::String &value)
Definition: UpdateChannelRequest.h:107
MediaPackage_EXPORTS.h
Aws::MediaPackage::Model::UpdateChannelRequest::WithId
UpdateChannelRequest & WithId(const char *value)
Definition: UpdateChannelRequest.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::MediaPackage::Model::UpdateChannelRequest::WithDescription
UpdateChannelRequest & WithDescription(Aws::String &&value)
Definition: UpdateChannelRequest.h:71
Aws::MediaPackage::Model::UpdateChannelRequest::SetId
void SetId(const char *value)
Definition: UpdateChannelRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaPackage::Model::UpdateChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaPackage::Model::UpdateChannelRequest
Definition: UpdateChannelRequest.h:25
Aws::MediaPackage::Model::UpdateChannelRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdateChannelRequest.h:97
Aws::MediaPackage::MediaPackageRequest
Definition: MediaPackageRequest.h:17
Aws::MediaPackage::Model::UpdateChannelRequest::GetId
const Aws::String & GetId() const
Definition: UpdateChannelRequest.h:82