AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline RecordingConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline RecordingConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline RecordingConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
64 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
65 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
66 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline RecordingConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline RecordingConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline RecordingConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
91 inline const RecordingConfigurationState& GetState() const{ return m_state; }
92 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
93 inline void SetState(const RecordingConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; }
94 inline void SetState(RecordingConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
95 inline RecordingConfigurationSummary& WithState(const RecordingConfigurationState& value) { SetState(value); return *this;}
96 inline RecordingConfigurationSummary& WithState(RecordingConfigurationState&& value) { SetState(std::move(value)); return *this;}
98
100
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline RecordingConfigurationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
115 inline RecordingConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 inline RecordingConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline RecordingConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
118 inline RecordingConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
119 inline RecordingConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline RecordingConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline RecordingConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 DestinationConfiguration m_destinationConfiguration;
129 bool m_destinationConfigurationHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
135 bool m_stateHasBeenSet = false;
136
138 bool m_tagsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace IVS
143} // namespace Aws
RecordingConfigurationSummary & WithState(RecordingConfigurationState &&value)
RecordingConfigurationSummary & WithDestinationConfiguration(const DestinationConfiguration &value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
RecordingConfigurationSummary & WithArn(const char *value)
void SetState(RecordingConfigurationState &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecordingConfigurationSummary & WithName(const Aws::String &value)
AWS_IVS_API RecordingConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordingConfigurationSummary & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
void SetDestinationConfiguration(DestinationConfiguration &&value)
RecordingConfigurationSummary & WithName(Aws::String &&value)
RecordingConfigurationSummary & WithState(const RecordingConfigurationState &value)
RecordingConfigurationSummary & AddTags(Aws::String &&key, const Aws::String &value)
RecordingConfigurationSummary & WithArn(Aws::String &&value)
RecordingConfigurationSummary & AddTags(const char *key, const char *value)
RecordingConfigurationSummary & WithName(const char *value)
RecordingConfigurationSummary & AddTags(Aws::String &&key, Aws::String &&value)
RecordingConfigurationSummary & WithDestinationConfiguration(DestinationConfiguration &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RecordingConfigurationSummary & AddTags(const char *key, Aws::String &&value)
RecordingConfigurationSummary & AddTags(const Aws::String &key, const Aws::String &value)
RecordingConfigurationSummary & AddTags(Aws::String &&key, const char *value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
RecordingConfigurationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IVS_API RecordingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetState(const RecordingConfigurationState &value)
RecordingConfigurationSummary & AddTags(const Aws::String &key, Aws::String &&value)
const RecordingConfigurationState & GetState() const
RecordingConfigurationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&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