AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Authorization.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaPackage
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIAPACKAGE_API Authorization() = default;
35 AWS_MEDIAPACKAGE_API Authorization(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGE_API Authorization& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetCdnIdentifierSecret() const { return m_cdnIdentifierSecret; }
48 inline bool CdnIdentifierSecretHasBeenSet() const { return m_cdnIdentifierSecretHasBeenSet; }
49 template<typename CdnIdentifierSecretT = Aws::String>
50 void SetCdnIdentifierSecret(CdnIdentifierSecretT&& value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret = std::forward<CdnIdentifierSecretT>(value); }
51 template<typename CdnIdentifierSecretT = Aws::String>
52 Authorization& WithCdnIdentifierSecret(CdnIdentifierSecretT&& value) { SetCdnIdentifierSecret(std::forward<CdnIdentifierSecretT>(value)); return *this;}
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) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = std::forward<SecretsRoleArnT>(value); }
65 template<typename SecretsRoleArnT = Aws::String>
66 Authorization& WithSecretsRoleArn(SecretsRoleArnT&& value) { SetSecretsRoleArn(std::forward<SecretsRoleArnT>(value)); return *this;}
68 private:
69
70 Aws::String m_cdnIdentifierSecret;
71 bool m_cdnIdentifierSecretHasBeenSet = false;
72
73 Aws::String m_secretsRoleArn;
74 bool m_secretsRoleArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaPackage
79} // 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