AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CdnAuthConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mediapackagev2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration() = default;
37 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API CdnAuthConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetCdnIdentifierSecretArns() const { return m_cdnIdentifierSecretArns; }
48 inline bool CdnIdentifierSecretArnsHasBeenSet() const { return m_cdnIdentifierSecretArnsHasBeenSet; }
49 template<typename CdnIdentifierSecretArnsT = Aws::Vector<Aws::String>>
50 void SetCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) { m_cdnIdentifierSecretArnsHasBeenSet = true; m_cdnIdentifierSecretArns = std::forward<CdnIdentifierSecretArnsT>(value); }
51 template<typename CdnIdentifierSecretArnsT = Aws::Vector<Aws::String>>
52 CdnAuthConfiguration& WithCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) { SetCdnIdentifierSecretArns(std::forward<CdnIdentifierSecretArnsT>(value)); return *this;}
53 template<typename CdnIdentifierSecretArnsT = Aws::String>
54 CdnAuthConfiguration& AddCdnIdentifierSecretArns(CdnIdentifierSecretArnsT&& value) { m_cdnIdentifierSecretArnsHasBeenSet = true; m_cdnIdentifierSecretArns.emplace_back(std::forward<CdnIdentifierSecretArnsT>(value)); return *this; }
56
58
62 inline const Aws::String& GetSecretsRoleArn() const { return m_secretsRoleArn; }
63 inline bool SecretsRoleArnHasBeenSet() const { return m_secretsRoleArnHasBeenSet; }
64 template<typename SecretsRoleArnT = Aws::String>
65 void SetSecretsRoleArn(SecretsRoleArnT&& value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = std::forward<SecretsRoleArnT>(value); }
66 template<typename SecretsRoleArnT = Aws::String>
67 CdnAuthConfiguration& WithSecretsRoleArn(SecretsRoleArnT&& value) { SetSecretsRoleArn(std::forward<SecretsRoleArnT>(value)); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_cdnIdentifierSecretArns;
72 bool m_cdnIdentifierSecretArnsHasBeenSet = false;
73
74 Aws::String m_secretsRoleArn;
75 bool m_secretsRoleArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace mediapackagev2
80} // 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