AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/AccessType.h>
9#include <aws/mediatailor/model/SecretsManagerAccessTokenConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIATAILOR_API AccessConfiguration();
36 AWS_MEDIATAILOR_API AccessConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
86 inline const AccessType& GetAccessType() const{ return m_accessType; }
87 inline bool AccessTypeHasBeenSet() const { return m_accessTypeHasBeenSet; }
88 inline void SetAccessType(const AccessType& value) { m_accessTypeHasBeenSet = true; m_accessType = value; }
89 inline void SetAccessType(AccessType&& value) { m_accessTypeHasBeenSet = true; m_accessType = std::move(value); }
90 inline AccessConfiguration& WithAccessType(const AccessType& value) { SetAccessType(value); return *this;}
91 inline AccessConfiguration& WithAccessType(AccessType&& value) { SetAccessType(std::move(value)); return *this;}
93
95
98 inline const SecretsManagerAccessTokenConfiguration& GetSecretsManagerAccessTokenConfiguration() const{ return m_secretsManagerAccessTokenConfiguration; }
99 inline bool SecretsManagerAccessTokenConfigurationHasBeenSet() const { return m_secretsManagerAccessTokenConfigurationHasBeenSet; }
100 inline void SetSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration& value) { m_secretsManagerAccessTokenConfigurationHasBeenSet = true; m_secretsManagerAccessTokenConfiguration = value; }
101 inline void SetSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration&& value) { m_secretsManagerAccessTokenConfigurationHasBeenSet = true; m_secretsManagerAccessTokenConfiguration = std::move(value); }
105 private:
106
107 AccessType m_accessType;
108 bool m_accessTypeHasBeenSet = false;
109
110 SecretsManagerAccessTokenConfiguration m_secretsManagerAccessTokenConfiguration;
111 bool m_secretsManagerAccessTokenConfigurationHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaTailor
116} // namespace Aws
AccessConfiguration & WithAccessType(const AccessType &value)
const SecretsManagerAccessTokenConfiguration & GetSecretsManagerAccessTokenConfiguration() const
AccessConfiguration & WithAccessType(AccessType &&value)
void SetSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AccessConfiguration & WithSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration &value)
void SetSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration &&value)
AWS_MEDIATAILOR_API AccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AccessConfiguration & WithSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration &&value)
AWS_MEDIATAILOR_API AccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue