AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCdnIdentifierSecret(const Aws::String& value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret = value; }
50 inline void SetCdnIdentifierSecret(Aws::String&& value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret = std::move(value); }
51 inline void SetCdnIdentifierSecret(const char* value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret.assign(value); }
52 inline Authorization& WithCdnIdentifierSecret(const Aws::String& value) { SetCdnIdentifierSecret(value); return *this;}
53 inline Authorization& WithCdnIdentifierSecret(Aws::String&& value) { SetCdnIdentifierSecret(std::move(value)); return *this;}
54 inline Authorization& WithCdnIdentifierSecret(const char* value) { SetCdnIdentifierSecret(value); return *this;}
56
58
63 inline const Aws::String& GetSecretsRoleArn() const{ return m_secretsRoleArn; }
64 inline bool SecretsRoleArnHasBeenSet() const { return m_secretsRoleArnHasBeenSet; }
65 inline void SetSecretsRoleArn(const Aws::String& value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = value; }
66 inline void SetSecretsRoleArn(Aws::String&& value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = std::move(value); }
67 inline void SetSecretsRoleArn(const char* value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn.assign(value); }
68 inline Authorization& WithSecretsRoleArn(const Aws::String& value) { SetSecretsRoleArn(value); return *this;}
69 inline Authorization& WithSecretsRoleArn(Aws::String&& value) { SetSecretsRoleArn(std::move(value)); return *this;}
70 inline Authorization& WithSecretsRoleArn(const char* value) { SetSecretsRoleArn(value); return *this;}
72 private:
73
74 Aws::String m_cdnIdentifierSecret;
75 bool m_cdnIdentifierSecretHasBeenSet = false;
76
77 Aws::String m_secretsRoleArn;
78 bool m_secretsRoleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace MediaPackage
83} // namespace Aws
Authorization & WithCdnIdentifierSecret(const Aws::String &value)
void SetCdnIdentifierSecret(Aws::String &&value)
AWS_MEDIAPACKAGE_API Authorization()
Authorization & WithCdnIdentifierSecret(const char *value)
const Aws::String & GetCdnIdentifierSecret() const
Authorization & WithSecretsRoleArn(const Aws::String &value)
const Aws::String & GetSecretsRoleArn() const
Authorization & WithCdnIdentifierSecret(Aws::String &&value)
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCdnIdentifierSecret(const Aws::String &value)
Authorization & WithSecretsRoleArn(Aws::String &&value)
AWS_MEDIAPACKAGE_API Authorization & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretsRoleArn(const Aws::String &value)
void SetSecretsRoleArn(const char *value)
AWS_MEDIAPACKAGE_API Authorization(Aws::Utils::Json::JsonView jsonValue)
Authorization & WithSecretsRoleArn(const char *value)
void SetSecretsRoleArn(Aws::String &&value)
void SetCdnIdentifierSecret(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue