AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
AnywhereSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API AnywhereSettings() = default;
30 AWS_MEDIALIVE_API AnywhereSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetChannelPlacementGroupId() const { return m_channelPlacementGroupId; }
39 inline bool ChannelPlacementGroupIdHasBeenSet() const { return m_channelPlacementGroupIdHasBeenSet; }
40 template <typename ChannelPlacementGroupIdT = Aws::String>
41 void SetChannelPlacementGroupId(ChannelPlacementGroupIdT&& value) {
42 m_channelPlacementGroupIdHasBeenSet = true;
43 m_channelPlacementGroupId = std::forward<ChannelPlacementGroupIdT>(value);
44 }
45 template <typename ChannelPlacementGroupIdT = Aws::String>
46 AnywhereSettings& WithChannelPlacementGroupId(ChannelPlacementGroupIdT&& value) {
47 SetChannelPlacementGroupId(std::forward<ChannelPlacementGroupIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetClusterId() const { return m_clusterId; }
57 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
58 template <typename ClusterIdT = Aws::String>
59 void SetClusterId(ClusterIdT&& value) {
60 m_clusterIdHasBeenSet = true;
61 m_clusterId = std::forward<ClusterIdT>(value);
62 }
63 template <typename ClusterIdT = Aws::String>
64 AnywhereSettings& WithClusterId(ClusterIdT&& value) {
65 SetClusterId(std::forward<ClusterIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_channelPlacementGroupId;
71
72 Aws::String m_clusterId;
73 bool m_channelPlacementGroupIdHasBeenSet = false;
74 bool m_clusterIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AnywhereSettings & WithChannelPlacementGroupId(ChannelPlacementGroupIdT &&value)
const Aws::String & GetClusterId() const
AWS_MEDIALIVE_API AnywhereSettings()=default
AWS_MEDIALIVE_API AnywhereSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChannelPlacementGroupId() const
void SetChannelPlacementGroupId(ChannelPlacementGroupIdT &&value)
AWS_MEDIALIVE_API AnywhereSettings(Aws::Utils::Json::JsonView jsonValue)
AnywhereSettings & WithClusterId(ClusterIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue