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-vod/MediaPackageVod_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 MediaPackageVod
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIAPACKAGEVOD_API Authorization();
35 AWS_MEDIAPACKAGEVOD_API Authorization(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGEVOD_API Authorization& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetCdnIdentifierSecret() const{ return m_cdnIdentifierSecret; }
46 inline bool CdnIdentifierSecretHasBeenSet() const { return m_cdnIdentifierSecretHasBeenSet; }
47 inline void SetCdnIdentifierSecret(const Aws::String& value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret = value; }
48 inline void SetCdnIdentifierSecret(Aws::String&& value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret = std::move(value); }
49 inline void SetCdnIdentifierSecret(const char* value) { m_cdnIdentifierSecretHasBeenSet = true; m_cdnIdentifierSecret.assign(value); }
50 inline Authorization& WithCdnIdentifierSecret(const Aws::String& value) { SetCdnIdentifierSecret(value); return *this;}
51 inline Authorization& WithCdnIdentifierSecret(Aws::String&& value) { SetCdnIdentifierSecret(std::move(value)); return *this;}
52 inline Authorization& WithCdnIdentifierSecret(const char* value) { SetCdnIdentifierSecret(value); return *this;}
54
56
60 inline const Aws::String& GetSecretsRoleArn() const{ return m_secretsRoleArn; }
61 inline bool SecretsRoleArnHasBeenSet() const { return m_secretsRoleArnHasBeenSet; }
62 inline void SetSecretsRoleArn(const Aws::String& value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = value; }
63 inline void SetSecretsRoleArn(Aws::String&& value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn = std::move(value); }
64 inline void SetSecretsRoleArn(const char* value) { m_secretsRoleArnHasBeenSet = true; m_secretsRoleArn.assign(value); }
65 inline Authorization& WithSecretsRoleArn(const Aws::String& value) { SetSecretsRoleArn(value); return *this;}
66 inline Authorization& WithSecretsRoleArn(Aws::String&& value) { SetSecretsRoleArn(std::move(value)); return *this;}
67 inline Authorization& WithSecretsRoleArn(const char* value) { SetSecretsRoleArn(value); return *this;}
69 private:
70
71 Aws::String m_cdnIdentifierSecret;
72 bool m_cdnIdentifierSecretHasBeenSet = false;
73
74 Aws::String m_secretsRoleArn;
75 bool m_secretsRoleArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MediaPackageVod
80} // namespace Aws
Authorization & WithCdnIdentifierSecret(const char *value)
Authorization & WithSecretsRoleArn(const Aws::String &value)
Authorization & WithCdnIdentifierSecret(Aws::String &&value)
void SetCdnIdentifierSecret(Aws::String &&value)
AWS_MEDIAPACKAGEVOD_API Authorization()
void SetCdnIdentifierSecret(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API Authorization & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCdnIdentifierSecret(const char *value)
const Aws::String & GetCdnIdentifierSecret() const
Authorization & WithSecretsRoleArn(const char *value)
Authorization & WithSecretsRoleArn(Aws::String &&value)
void SetSecretsRoleArn(const Aws::String &value)
Authorization & WithCdnIdentifierSecret(const Aws::String &value)
void SetSecretsRoleArn(Aws::String &&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