AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelClassRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/ChannelClass.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/model/OutputDestination.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaLive
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIALIVE_API UpdateChannelClassRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannelClass"; }
37
38 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const ChannelClass& GetChannelClass() const{ return m_channelClass; }
46 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
47 inline void SetChannelClass(const ChannelClass& value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
48 inline void SetChannelClass(ChannelClass&& value) { m_channelClassHasBeenSet = true; m_channelClass = std::move(value); }
49 inline UpdateChannelClassRequest& WithChannelClass(const ChannelClass& value) { SetChannelClass(value); return *this;}
50 inline UpdateChannelClassRequest& WithChannelClass(ChannelClass&& value) { SetChannelClass(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetChannelId() const{ return m_channelId; }
58 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
59 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
60 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
61 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
62 inline UpdateChannelClassRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
63 inline UpdateChannelClassRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
64 inline UpdateChannelClassRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
66
68
71 inline const Aws::Vector<OutputDestination>& GetDestinations() const{ return m_destinations; }
72 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
73 inline void SetDestinations(const Aws::Vector<OutputDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
74 inline void SetDestinations(Aws::Vector<OutputDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
77 inline UpdateChannelClassRequest& AddDestinations(const OutputDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
78 inline UpdateChannelClassRequest& AddDestinations(OutputDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
80 private:
81
82 ChannelClass m_channelClass;
83 bool m_channelClassHasBeenSet = false;
84
85 Aws::String m_channelId;
86 bool m_channelIdHasBeenSet = false;
87
88 Aws::Vector<OutputDestination> m_destinations;
89 bool m_destinationsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace MediaLive
94} // namespace Aws
void SetDestinations(Aws::Vector< OutputDestination > &&value)
void SetDestinations(const Aws::Vector< OutputDestination > &value)
UpdateChannelClassRequest & WithChannelId(Aws::String &&value)
UpdateChannelClassRequest & AddDestinations(OutputDestination &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
UpdateChannelClassRequest & AddDestinations(const OutputDestination &value)
UpdateChannelClassRequest & WithDestinations(Aws::Vector< OutputDestination > &&value)
UpdateChannelClassRequest & WithChannelId(const Aws::String &value)
UpdateChannelClassRequest & WithChannelClass(const ChannelClass &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
UpdateChannelClassRequest & WithDestinations(const Aws::Vector< OutputDestination > &value)
UpdateChannelClassRequest & WithChannelId(const char *value)
UpdateChannelClassRequest & WithChannelClass(ChannelClass &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector