AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecordingConfigurationSummary.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/model/DestinationConfiguration.h>
10#include <aws/ivs/model/RecordingConfigurationState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IVS
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IVS_API RecordingConfigurationSummary() = default;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 RecordingConfigurationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
61 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
62 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
63 template<typename DestinationConfigurationT = DestinationConfiguration>
64 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
65 template<typename DestinationConfigurationT = DestinationConfiguration>
66 RecordingConfigurationSummary& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 RecordingConfigurationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
87 inline RecordingConfigurationState GetState() const { return m_state; }
88 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
89 inline void SetState(RecordingConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
92
94
103 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
107 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 RecordingConfigurationSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
109 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
110 RecordingConfigurationSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
111 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
112 }
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 DestinationConfiguration m_destinationConfiguration;
120 bool m_destinationConfigurationHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_stateHasBeenSet = false;
127
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IVS
134} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVS_API RecordingConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DestinationConfiguration & GetDestinationConfiguration() const
void SetDestinationConfiguration(DestinationConfigurationT &&value)
RecordingConfigurationSummary & WithState(RecordingConfigurationState value)
RecordingConfigurationSummary & WithName(NameT &&value)
RecordingConfigurationSummary & WithTags(TagsT &&value)
RecordingConfigurationSummary & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVS_API RecordingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
RecordingConfigurationSummary & WithArn(ArnT &&value)
RecordingConfigurationSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue