AWS SDK for C++  1.8.95
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
#define AWS_MEDIAPACKAGE_API
UpdateChannelRequest & WithId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithDescription(const char *value)
UpdateChannelRequest & WithDescription(const Aws::String &value)
UpdateChannelRequest & WithId(const char *value)
UpdateChannelRequest & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateChannelRequest & WithDescription(Aws::String &&value)