AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteChannelPlacementGroupResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/ChannelPlacementGroupState.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
36 {
37 public:
41
42
44
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline void SetArn(const Aws::String& value) { m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arn.assign(value); }
52 inline DeleteChannelPlacementGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DeleteChannelPlacementGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DeleteChannelPlacementGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetChannels() const{ return m_channels; }
62 inline void SetChannels(const Aws::Vector<Aws::String>& value) { m_channels = value; }
63 inline void SetChannels(Aws::Vector<Aws::String>&& value) { m_channels = std::move(value); }
65 inline DeleteChannelPlacementGroupResult& WithChannels(Aws::Vector<Aws::String>&& value) { SetChannels(std::move(value)); return *this;}
66 inline DeleteChannelPlacementGroupResult& AddChannels(const Aws::String& value) { m_channels.push_back(value); return *this; }
67 inline DeleteChannelPlacementGroupResult& AddChannels(Aws::String&& value) { m_channels.push_back(std::move(value)); return *this; }
68 inline DeleteChannelPlacementGroupResult& AddChannels(const char* value) { m_channels.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
76 inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
77 inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
78 inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
79 inline DeleteChannelPlacementGroupResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
80 inline DeleteChannelPlacementGroupResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
81 inline DeleteChannelPlacementGroupResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
83
85
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline void SetId(const Aws::String& value) { m_id = value; }
91 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
92 inline void SetId(const char* value) { m_id.assign(value); }
93 inline DeleteChannelPlacementGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline DeleteChannelPlacementGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline DeleteChannelPlacementGroupResult& WithId(const char* value) { SetId(value); return *this;}
97
99
102 inline const Aws::String& GetName() const{ return m_name; }
103 inline void SetName(const Aws::String& value) { m_name = value; }
104 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
105 inline void SetName(const char* value) { m_name.assign(value); }
106 inline DeleteChannelPlacementGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline DeleteChannelPlacementGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline DeleteChannelPlacementGroupResult& WithName(const char* value) { SetName(value); return *this;}
110
112
116 inline const Aws::Vector<Aws::String>& GetNodes() const{ return m_nodes; }
117 inline void SetNodes(const Aws::Vector<Aws::String>& value) { m_nodes = value; }
118 inline void SetNodes(Aws::Vector<Aws::String>&& value) { m_nodes = std::move(value); }
120 inline DeleteChannelPlacementGroupResult& WithNodes(Aws::Vector<Aws::String>&& value) { SetNodes(std::move(value)); return *this;}
121 inline DeleteChannelPlacementGroupResult& AddNodes(const Aws::String& value) { m_nodes.push_back(value); return *this; }
122 inline DeleteChannelPlacementGroupResult& AddNodes(Aws::String&& value) { m_nodes.push_back(std::move(value)); return *this; }
123 inline DeleteChannelPlacementGroupResult& AddNodes(const char* value) { m_nodes.push_back(value); return *this; }
125
127
130 inline const ChannelPlacementGroupState& GetState() const{ return m_state; }
131 inline void SetState(const ChannelPlacementGroupState& value) { m_state = value; }
132 inline void SetState(ChannelPlacementGroupState&& value) { m_state = std::move(value); }
134 inline DeleteChannelPlacementGroupResult& WithState(ChannelPlacementGroupState&& value) { SetState(std::move(value)); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline DeleteChannelPlacementGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline DeleteChannelPlacementGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline DeleteChannelPlacementGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_arn;
150
151 Aws::Vector<Aws::String> m_channels;
152
153 Aws::String m_clusterId;
154
155 Aws::String m_id;
156
157 Aws::String m_name;
158
160
162
163 Aws::String m_requestId;
164 };
165
166} // namespace Model
167} // namespace MediaLive
168} // namespace Aws
DeleteChannelPlacementGroupResult & WithName(Aws::String &&value)
DeleteChannelPlacementGroupResult & AddChannels(const char *value)
DeleteChannelPlacementGroupResult & AddChannels(Aws::String &&value)
DeleteChannelPlacementGroupResult & WithClusterId(Aws::String &&value)
DeleteChannelPlacementGroupResult & AddChannels(const Aws::String &value)
DeleteChannelPlacementGroupResult & WithArn(const char *value)
DeleteChannelPlacementGroupResult & WithId(const char *value)
DeleteChannelPlacementGroupResult & WithRequestId(Aws::String &&value)
AWS_MEDIALIVE_API DeleteChannelPlacementGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteChannelPlacementGroupResult & WithState(ChannelPlacementGroupState &&value)
AWS_MEDIALIVE_API DeleteChannelPlacementGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteChannelPlacementGroupResult & WithClusterId(const Aws::String &value)
DeleteChannelPlacementGroupResult & WithId(const Aws::String &value)
DeleteChannelPlacementGroupResult & WithNodes(const Aws::Vector< Aws::String > &value)
DeleteChannelPlacementGroupResult & WithClusterId(const char *value)
DeleteChannelPlacementGroupResult & AddNodes(const Aws::String &value)
DeleteChannelPlacementGroupResult & AddNodes(Aws::String &&value)
DeleteChannelPlacementGroupResult & WithName(const char *value)
DeleteChannelPlacementGroupResult & WithChannels(const Aws::Vector< Aws::String > &value)
DeleteChannelPlacementGroupResult & WithRequestId(const Aws::String &value)
DeleteChannelPlacementGroupResult & WithName(const Aws::String &value)
DeleteChannelPlacementGroupResult & WithId(Aws::String &&value)
DeleteChannelPlacementGroupResult & WithArn(Aws::String &&value)
DeleteChannelPlacementGroupResult & WithChannels(Aws::Vector< Aws::String > &&value)
DeleteChannelPlacementGroupResult & AddNodes(const char *value)
DeleteChannelPlacementGroupResult & WithState(const ChannelPlacementGroupState &value)
DeleteChannelPlacementGroupResult & WithNodes(Aws::Vector< Aws::String > &&value)
DeleteChannelPlacementGroupResult & WithRequestId(const char *value)
DeleteChannelPlacementGroupResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue