AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CdnAuthConfiguration.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/mediapackagev2/Mediapackagev2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace mediapackagev2 {
21namespace Model {
22
30 public:
31 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration() = default;
32 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetCdnIdentifierSecretArns() const { return m_cdnIdentifierSecretArns; }
42 inline bool CdnIdentifierSecretArnsHasBeenSet() const { return m_cdnIdentifierSecretArnsHasBeenSet; }
43 template <typename CdnIdentifierSecretArnsT = Aws::Vector<Aws::String>>
44 void SetCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) {
45 m_cdnIdentifierSecretArnsHasBeenSet = true;
46 m_cdnIdentifierSecretArns = std::forward<CdnIdentifierSecretArnsT>(value);
47 }
48 template <typename CdnIdentifierSecretArnsT = Aws::Vector<Aws::String>>
49 CdnAuthConfiguration& WithCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) {
50 SetCdnIdentifierSecretArns(std::forward<CdnIdentifierSecretArnsT>(value));
51 return *this;
52 }
53 template <typename CdnIdentifierSecretArnsT = Aws::String>
54 CdnAuthConfiguration& AddCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) {
55 m_cdnIdentifierSecretArnsHasBeenSet = true;
56 m_cdnIdentifierSecretArns.emplace_back(std::forward<CdnIdentifierSecretArnsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::String& GetSecretsRoleArn() const { return m_secretsRoleArn; }
67 inline bool SecretsRoleArnHasBeenSet() const { return m_secretsRoleArnHasBeenSet; }
68 template <typename SecretsRoleArnT = Aws::String>
69 void SetSecretsRoleArn(SecretsRoleArnT&& value) {
70 m_secretsRoleArnHasBeenSet = true;
71 m_secretsRoleArn = std::forward<SecretsRoleArnT>(value);
72 }
73 template <typename SecretsRoleArnT = Aws::String>
74 CdnAuthConfiguration& WithSecretsRoleArn(SecretsRoleArnT&& value) {
75 SetSecretsRoleArn(std::forward<SecretsRoleArnT>(value));
76 return *this;
77 }
79 private:
80 Aws::Vector<Aws::String> m_cdnIdentifierSecretArns;
81
82 Aws::String m_secretsRoleArn;
83 bool m_cdnIdentifierSecretArnsHasBeenSet = false;
84 bool m_secretsRoleArnHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace mediapackagev2
89} // namespace Aws
AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCdnIdentifierSecretArns() const
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration()=default
CdnAuthConfiguration & AddCdnIdentifierSecretArns(CdnIdentifierSecretArnsT &&value)
CdnAuthConfiguration & WithSecretsRoleArn(SecretsRoleArnT &&value)
void SetCdnIdentifierSecretArns(CdnIdentifierSecretArnsT &&value)
CdnAuthConfiguration & WithCdnIdentifierSecretArns(CdnIdentifierSecretArnsT &&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