AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EksSecret.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
30class EksSecret {
31 public:
32 AWS_BATCH_API EksSecret() = default;
33 AWS_BATCH_API EksSecret(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetSecretName() const { return m_secretName; }
45 inline bool SecretNameHasBeenSet() const { return m_secretNameHasBeenSet; }
46 template <typename SecretNameT = Aws::String>
47 void SetSecretName(SecretNameT&& value) {
48 m_secretNameHasBeenSet = true;
49 m_secretName = std::forward<SecretNameT>(value);
50 }
51 template <typename SecretNameT = Aws::String>
52 EksSecret& WithSecretName(SecretNameT&& value) {
53 SetSecretName(std::forward<SecretNameT>(value));
54 return *this;
55 }
57
59
62 inline bool GetOptional() const { return m_optional; }
63 inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; }
64 inline void SetOptional(bool value) {
65 m_optionalHasBeenSet = true;
66 m_optional = value;
67 }
68 inline EksSecret& WithOptional(bool value) {
69 SetOptional(value);
70 return *this;
71 }
73 private:
74 Aws::String m_secretName;
75
76 bool m_optional{false};
77 bool m_secretNameHasBeenSet = false;
78 bool m_optionalHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Batch
83} // namespace Aws
void SetOptional(bool value)
Definition EksSecret.h:64
bool SecretNameHasBeenSet() const
Definition EksSecret.h:45
bool OptionalHasBeenSet() const
Definition EksSecret.h:63
EksSecret & WithSecretName(SecretNameT &&value)
Definition EksSecret.h:52
AWS_BATCH_API EksSecret & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksSecret(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksSecret()=default
const Aws::String & GetSecretName() const
Definition EksSecret.h:44
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretName(SecretNameT &&value)
Definition EksSecret.h:47
EksSecret & WithOptional(bool value)
Definition EksSecret.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue