AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RouterInputSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/RouterDestination.h>
11#include <aws/medialive/model/RouterEncryptionType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive {
23namespace Model {
24
31 public:
32 AWS_MEDIALIVE_API RouterInputSettings() = default;
33 AWS_MEDIALIVE_API RouterInputSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<RouterDestination>& GetDestinations() const { return m_destinations; }
42 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
43 template <typename DestinationsT = Aws::Vector<RouterDestination>>
44 void SetDestinations(DestinationsT&& value) {
45 m_destinationsHasBeenSet = true;
46 m_destinations = std::forward<DestinationsT>(value);
47 }
48 template <typename DestinationsT = Aws::Vector<RouterDestination>>
49 RouterInputSettings& WithDestinations(DestinationsT&& value) {
50 SetDestinations(std::forward<DestinationsT>(value));
51 return *this;
52 }
53 template <typename DestinationsT = RouterDestination>
54 RouterInputSettings& AddDestinations(DestinationsT&& value) {
55 m_destinationsHasBeenSet = true;
56 m_destinations.emplace_back(std::forward<DestinationsT>(value));
57 return *this;
58 }
60
62
63 inline RouterEncryptionType GetEncryptionType() const { return m_encryptionType; }
64 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
66 m_encryptionTypeHasBeenSet = true;
67 m_encryptionType = value;
68 }
70 SetEncryptionType(value);
71 return *this;
72 }
74
76
79 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
80 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
81 template <typename SecretArnT = Aws::String>
82 void SetSecretArn(SecretArnT&& value) {
83 m_secretArnHasBeenSet = true;
84 m_secretArn = std::forward<SecretArnT>(value);
85 }
86 template <typename SecretArnT = Aws::String>
87 RouterInputSettings& WithSecretArn(SecretArnT&& value) {
88 SetSecretArn(std::forward<SecretArnT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<RouterDestination> m_destinations;
94
96
97 Aws::String m_secretArn;
98 bool m_destinationsHasBeenSet = false;
99 bool m_encryptionTypeHasBeenSet = false;
100 bool m_secretArnHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace MediaLive
105} // namespace Aws
RouterInputSettings & AddDestinations(DestinationsT &&value)
RouterEncryptionType GetEncryptionType() const
RouterInputSettings & WithSecretArn(SecretArnT &&value)
AWS_MEDIALIVE_API RouterInputSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API RouterInputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API RouterInputSettings()=default
void SetEncryptionType(RouterEncryptionType value)
RouterInputSettings & WithEncryptionType(RouterEncryptionType value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RouterDestination > & GetDestinations() const
RouterInputSettings & WithDestinations(DestinationsT &&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