AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecretsManagerAccessTokenConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_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 MediaTailor
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetHeaderName() const{ return m_headerName; }
50 inline bool HeaderNameHasBeenSet() const { return m_headerNameHasBeenSet; }
51 inline void SetHeaderName(const Aws::String& value) { m_headerNameHasBeenSet = true; m_headerName = value; }
52 inline void SetHeaderName(Aws::String&& value) { m_headerNameHasBeenSet = true; m_headerName = std::move(value); }
53 inline void SetHeaderName(const char* value) { m_headerNameHasBeenSet = true; m_headerName.assign(value); }
55 inline SecretsManagerAccessTokenConfiguration& WithHeaderName(Aws::String&& value) { SetHeaderName(std::move(value)); return *this;}
56 inline SecretsManagerAccessTokenConfiguration& WithHeaderName(const char* value) { SetHeaderName(value); return *this;}
58
60
64 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
65 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
66 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
67 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
68 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
70 inline SecretsManagerAccessTokenConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
71 inline SecretsManagerAccessTokenConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
73
75
81 inline const Aws::String& GetSecretStringKey() const{ return m_secretStringKey; }
82 inline bool SecretStringKeyHasBeenSet() const { return m_secretStringKeyHasBeenSet; }
83 inline void SetSecretStringKey(const Aws::String& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = value; }
84 inline void SetSecretStringKey(Aws::String&& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = std::move(value); }
85 inline void SetSecretStringKey(const char* value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey.assign(value); }
88 inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(const char* value) { SetSecretStringKey(value); return *this;}
90 private:
91
92 Aws::String m_headerName;
93 bool m_headerNameHasBeenSet = false;
94
95 Aws::String m_secretArn;
96 bool m_secretArnHasBeenSet = false;
97
98 Aws::String m_secretStringKey;
99 bool m_secretStringKeyHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MediaTailor
104} // namespace Aws
SecretsManagerAccessTokenConfiguration & WithHeaderName(Aws::String &&value)
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(const Aws::String &value)
AWS_MEDIATAILOR_API SecretsManagerAccessTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
SecretsManagerAccessTokenConfiguration & WithHeaderName(const Aws::String &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerAccessTokenConfiguration & WithHeaderName(const char *value)
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(Aws::String &&value)
SecretsManagerAccessTokenConfiguration & WithSecretArn(const Aws::String &value)
SecretsManagerAccessTokenConfiguration & WithSecretArn(const char *value)
SecretsManagerAccessTokenConfiguration & WithSecretArn(Aws::String &&value)
SecretsManagerAccessTokenConfiguration & WithSecretStringKey(const char *value)
AWS_MEDIATAILOR_API SecretsManagerAccessTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue