AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Authorization.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage/MediaPackage_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaPackage {
20namespace Model {
21
28 public:
29 AWS_MEDIAPACKAGE_API Authorization() = default;
30 AWS_MEDIAPACKAGE_API Authorization(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MEDIAPACKAGE_API Authorization& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetCdnIdentifierSecret() const { return m_cdnIdentifierSecret; }
42 inline bool CdnIdentifierSecretHasBeenSet() const { return m_cdnIdentifierSecretHasBeenSet; }
43 template <typename CdnIdentifierSecretT = Aws::String>
44 void SetCdnIdentifierSecret(CdnIdentifierSecretT&& value) {
45 m_cdnIdentifierSecretHasBeenSet = true;
46 m_cdnIdentifierSecret = std::forward<CdnIdentifierSecretT>(value);
47 }
48 template <typename CdnIdentifierSecretT = Aws::String>
49 Authorization& WithCdnIdentifierSecret(CdnIdentifierSecretT&& value) {
50 SetCdnIdentifierSecret(std::forward<CdnIdentifierSecretT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetSecretsRoleArn() const { return m_secretsRoleArn; }
62 inline bool SecretsRoleArnHasBeenSet() const { return m_secretsRoleArnHasBeenSet; }
63 template <typename SecretsRoleArnT = Aws::String>
64 void SetSecretsRoleArn(SecretsRoleArnT&& value) {
65 m_secretsRoleArnHasBeenSet = true;
66 m_secretsRoleArn = std::forward<SecretsRoleArnT>(value);
67 }
68 template <typename SecretsRoleArnT = Aws::String>
69 Authorization& WithSecretsRoleArn(SecretsRoleArnT&& value) {
70 SetSecretsRoleArn(std::forward<SecretsRoleArnT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_cdnIdentifierSecret;
76
77 Aws::String m_secretsRoleArn;
78 bool m_cdnIdentifierSecretHasBeenSet = false;
79 bool m_secretsRoleArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace MediaPackage
84} // namespace Aws
void SetCdnIdentifierSecret(CdnIdentifierSecretT &&value)
const Aws::String & GetCdnIdentifierSecret() const
void SetSecretsRoleArn(SecretsRoleArnT &&value)
Authorization & WithCdnIdentifierSecret(CdnIdentifierSecretT &&value)
const Aws::String & GetSecretsRoleArn() const
Authorization & WithSecretsRoleArn(SecretsRoleArnT &&value)
AWS_MEDIAPACKAGE_API Authorization()=default
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGE_API Authorization & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGE_API Authorization(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue