AWS SDK for C++  1.9.154
AWS SDK for C++
SecretsManagerAccessTokenConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaTailor
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetHeaderName() const{ return m_headerName; }
49 
54  inline bool HeaderNameHasBeenSet() const { return m_headerNameHasBeenSet; }
55 
60  inline void SetHeaderName(const Aws::String& value) { m_headerNameHasBeenSet = true; m_headerName = value; }
61 
66  inline void SetHeaderName(Aws::String&& value) { m_headerNameHasBeenSet = true; m_headerName = std::move(value); }
67 
72  inline void SetHeaderName(const char* value) { m_headerNameHasBeenSet = true; m_headerName.assign(value); }
73 
78  inline SecretsManagerAccessTokenConfiguration& WithHeaderName(const Aws::String& value) { SetHeaderName(value); return *this;}
79 
84  inline SecretsManagerAccessTokenConfiguration& WithHeaderName(Aws::String&& value) { SetHeaderName(std::move(value)); return *this;}
85 
90  inline SecretsManagerAccessTokenConfiguration& WithHeaderName(const char* value) { SetHeaderName(value); return *this;}
91 
92 
97  inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
98 
103  inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
104 
109  inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
110 
115  inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
116 
121  inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
122 
127  inline SecretsManagerAccessTokenConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
128 
133  inline SecretsManagerAccessTokenConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
134 
139  inline SecretsManagerAccessTokenConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
140 
141 
148  inline const Aws::String& GetSecretStringKey() const{ return m_secretStringKey; }
149 
156  inline bool SecretStringKeyHasBeenSet() const { return m_secretStringKeyHasBeenSet; }
157 
164  inline void SetSecretStringKey(const Aws::String& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = value; }
165 
172  inline void SetSecretStringKey(Aws::String&& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = std::move(value); }
173 
180  inline void SetSecretStringKey(const char* value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey.assign(value); }
181 
188  inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(const Aws::String& value) { SetSecretStringKey(value); return *this;}
189 
196  inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(Aws::String&& value) { SetSecretStringKey(std::move(value)); return *this;}
197 
204  inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(const char* value) { SetSecretStringKey(value); return *this;}
205 
206  private:
207 
208  Aws::String m_headerName;
209  bool m_headerNameHasBeenSet;
210 
211  Aws::String m_secretArn;
212  bool m_secretArnHasBeenSet;
213 
214  Aws::String m_secretStringKey;
215  bool m_secretStringKeyHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace MediaTailor
220 } // namespace Aws
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretArn
void SetSecretArn(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:109
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetHeaderName
void SetHeaderName(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:66
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretStringKey
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:188
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::operator=
SecretsManagerAccessTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithHeaderName
SecretsManagerAccessTokenConfiguration & WithHeaderName(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:90
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SecretsManagerAccessTokenConfiguration
SecretsManagerAccessTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SecretStringKeyHasBeenSet
bool SecretStringKeyHasBeenSet() const
Definition: SecretsManagerAccessTokenConfiguration.h:156
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetHeaderName
void SetHeaderName(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:60
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretStringKey
void SetSecretStringKey(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:164
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretArn
SecretsManagerAccessTokenConfiguration & WithSecretArn(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:127
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithHeaderName
SecretsManagerAccessTokenConfiguration & WithHeaderName(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:84
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::GetSecretStringKey
const Aws::String & GetSecretStringKey() const
Definition: SecretsManagerAccessTokenConfiguration.h:148
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration
Definition: SecretsManagerAccessTokenConfiguration.h:36
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretArn
SecretsManagerAccessTokenConfiguration & WithSecretArn(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:139
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SecretArnHasBeenSet
bool SecretArnHasBeenSet() const
Definition: SecretsManagerAccessTokenConfiguration.h:103
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretStringKey
void SetSecretStringKey(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:172
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::GetHeaderName
const Aws::String & GetHeaderName() const
Definition: SecretsManagerAccessTokenConfiguration.h:48
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretStringKey
void SetSecretStringKey(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:180
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretArn
void SetSecretArn(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:115
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithHeaderName
SecretsManagerAccessTokenConfiguration & WithHeaderName(const Aws::String &value)
Definition: SecretsManagerAccessTokenConfiguration.h:78
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SecretsManagerAccessTokenConfiguration
SecretsManagerAccessTokenConfiguration()
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretArn
SecretsManagerAccessTokenConfiguration & WithSecretArn(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:133
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::GetSecretArn
const Aws::String & GetSecretArn() const
Definition: SecretsManagerAccessTokenConfiguration.h:97
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetHeaderName
void SetHeaderName(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:72
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretStringKey
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(Aws::String &&value)
Definition: SecretsManagerAccessTokenConfiguration.h:196
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::SetSecretArn
void SetSecretArn(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:121
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::WithSecretStringKey
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(const char *value)
Definition: SecretsManagerAccessTokenConfiguration.h:204
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::SecretsManagerAccessTokenConfiguration::HeaderNameHasBeenSet
bool HeaderNameHasBeenSet() const
Definition: SecretsManagerAccessTokenConfiguration.h:54