AWS SDK for C++  1.9.104
AWS SDK for C++
AccessConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaTailor
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
59  inline const AccessType& GetAccessType() const{ return m_accessType; }
60 
79  inline bool AccessTypeHasBeenSet() const { return m_accessTypeHasBeenSet; }
80 
99  inline void SetAccessType(const AccessType& value) { m_accessTypeHasBeenSet = true; m_accessType = value; }
100 
119  inline void SetAccessType(AccessType&& value) { m_accessTypeHasBeenSet = true; m_accessType = std::move(value); }
120 
139  inline AccessConfiguration& WithAccessType(const AccessType& value) { SetAccessType(value); return *this;}
140 
159  inline AccessConfiguration& WithAccessType(AccessType&& value) { SetAccessType(std::move(value)); return *this;}
160 
161 
165  inline const SecretsManagerAccessTokenConfiguration& GetSecretsManagerAccessTokenConfiguration() const{ return m_secretsManagerAccessTokenConfiguration; }
166 
170  inline bool SecretsManagerAccessTokenConfigurationHasBeenSet() const { return m_secretsManagerAccessTokenConfigurationHasBeenSet; }
171 
175  inline void SetSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration& value) { m_secretsManagerAccessTokenConfigurationHasBeenSet = true; m_secretsManagerAccessTokenConfiguration = value; }
176 
180  inline void SetSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration&& value) { m_secretsManagerAccessTokenConfigurationHasBeenSet = true; m_secretsManagerAccessTokenConfiguration = std::move(value); }
181 
185  inline AccessConfiguration& WithSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration& value) { SetSecretsManagerAccessTokenConfiguration(value); return *this;}
186 
190  inline AccessConfiguration& WithSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration&& value) { SetSecretsManagerAccessTokenConfiguration(std::move(value)); return *this;}
191 
192  private:
193 
194  AccessType m_accessType;
195  bool m_accessTypeHasBeenSet;
196 
197  SecretsManagerAccessTokenConfiguration m_secretsManagerAccessTokenConfiguration;
198  bool m_secretsManagerAccessTokenConfigurationHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace MediaTailor
203 } // namespace Aws
Aws::MediaTailor::Model::AccessConfiguration::WithAccessType
AccessConfiguration & WithAccessType(AccessType &&value)
Definition: AccessConfiguration.h:159
Aws::MediaTailor::Model::AccessConfiguration::AccessTypeHasBeenSet
bool AccessTypeHasBeenSet() const
Definition: AccessConfiguration.h:79
Aws::MediaTailor::Model::AccessConfiguration::SecretsManagerAccessTokenConfigurationHasBeenSet
bool SecretsManagerAccessTokenConfigurationHasBeenSet() const
Definition: AccessConfiguration.h:170
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::AccessConfiguration::WithSecretsManagerAccessTokenConfiguration
AccessConfiguration & WithSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration &value)
Definition: AccessConfiguration.h:185
Aws::MediaTailor::Model::AccessConfiguration::SetSecretsManagerAccessTokenConfiguration
void SetSecretsManagerAccessTokenConfiguration(const SecretsManagerAccessTokenConfiguration &value)
Definition: AccessConfiguration.h:175
Aws::MediaTailor::Model::AccessConfiguration::SetSecretsManagerAccessTokenConfiguration
void SetSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration &&value)
Definition: AccessConfiguration.h:180
Aws::MediaTailor::Model::AccessConfiguration::AccessConfiguration
AccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration
Definition: SecretsManagerAccessTokenConfiguration.h:36
Aws::MediaTailor::Model::AccessConfiguration
Definition: AccessConfiguration.h:33
Aws::MediaTailor::Model::AccessConfiguration::GetSecretsManagerAccessTokenConfiguration
const SecretsManagerAccessTokenConfiguration & GetSecretsManagerAccessTokenConfiguration() const
Definition: AccessConfiguration.h:165
Aws::MediaTailor::Model::AccessConfiguration::SetAccessType
void SetAccessType(AccessType &&value)
Definition: AccessConfiguration.h:119
Aws::MediaTailor::Model::AccessConfiguration::AccessConfiguration
AccessConfiguration()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::AccessType
AccessType
Definition: AccessType.h:17
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::AccessConfiguration::WithAccessType
AccessConfiguration & WithAccessType(const AccessType &value)
Definition: AccessConfiguration.h:139
AccessType.h
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::AccessConfiguration::SetAccessType
void SetAccessType(const AccessType &value)
Definition: AccessConfiguration.h:99
SecretsManagerAccessTokenConfiguration.h
Aws::MediaTailor::Model::AccessConfiguration::WithSecretsManagerAccessTokenConfiguration
AccessConfiguration & WithSecretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfiguration &&value)
Definition: AccessConfiguration.h:190
Aws::MediaTailor::Model::AccessConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::AccessConfiguration::operator=
AccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::AccessConfiguration::GetAccessType
const AccessType & GetAccessType() const
Definition: AccessConfiguration.h:59