AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Batch
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_BATCH_API EksSecret() = default;
38 AWS_BATCH_API EksSecret(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetSecretName() const { return m_secretName; }
51 inline bool SecretNameHasBeenSet() const { return m_secretNameHasBeenSet; }
52 template<typename SecretNameT = Aws::String>
53 void SetSecretName(SecretNameT&& value) { m_secretNameHasBeenSet = true; m_secretName = std::forward<SecretNameT>(value); }
54 template<typename SecretNameT = Aws::String>
55 EksSecret& WithSecretName(SecretNameT&& value) { SetSecretName(std::forward<SecretNameT>(value)); return *this;}
57
59
62 inline bool GetOptional() const { return m_optional; }
63 inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; }
64 inline void SetOptional(bool value) { m_optionalHasBeenSet = true; m_optional = value; }
65 inline EksSecret& WithOptional(bool value) { SetOptional(value); return *this;}
67 private:
68
69 Aws::String m_secretName;
70 bool m_secretNameHasBeenSet = false;
71
72 bool m_optional{false};
73 bool m_optionalHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Batch
78} // namespace Aws
void SetOptional(bool value)
Definition EksSecret.h:64
bool SecretNameHasBeenSet() const
Definition EksSecret.h:51
bool OptionalHasBeenSet() const
Definition EksSecret.h:63
EksSecret & WithSecretName(SecretNameT &&value)
Definition EksSecret.h:55
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:50
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretName(SecretNameT &&value)
Definition EksSecret.h:53
EksSecret & WithOptional(bool value)
Definition EksSecret.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue