AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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