AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSecretName(const Aws::String& value) { m_secretNameHasBeenSet = true; m_secretName = value; }
53 inline void SetSecretName(Aws::String&& value) { m_secretNameHasBeenSet = true; m_secretName = std::move(value); }
54 inline void SetSecretName(const char* value) { m_secretNameHasBeenSet = true; m_secretName.assign(value); }
55 inline EksSecret& WithSecretName(const Aws::String& value) { SetSecretName(value); return *this;}
56 inline EksSecret& WithSecretName(Aws::String&& value) { SetSecretName(std::move(value)); return *this;}
57 inline EksSecret& WithSecretName(const char* value) { SetSecretName(value); return *this;}
59
61
64 inline bool GetOptional() const{ return m_optional; }
65 inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; }
66 inline void SetOptional(bool value) { m_optionalHasBeenSet = true; m_optional = value; }
67 inline EksSecret& WithOptional(bool value) { SetOptional(value); return *this;}
69 private:
70
71 Aws::String m_secretName;
72 bool m_secretNameHasBeenSet = false;
73
74 bool m_optional;
75 bool m_optionalHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Batch
80} // namespace Aws
void SetSecretName(const Aws::String &value)
Definition EksSecret.h:52
void SetOptional(bool value)
Definition EksSecret.h:66
bool SecretNameHasBeenSet() const
Definition EksSecret.h:51
bool OptionalHasBeenSet() const
Definition EksSecret.h:65
EksSecret & WithSecretName(const Aws::String &value)
Definition EksSecret.h:55
AWS_BATCH_API EksSecret & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksSecret(Aws::Utils::Json::JsonView jsonValue)
EksSecret & WithSecretName(Aws::String &&value)
Definition EksSecret.h:56
const Aws::String & GetSecretName() const
Definition EksSecret.h:50
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretName(const char *value)
Definition EksSecret.h:54
void SetSecretName(Aws::String &&value)
Definition EksSecret.h:53
EksSecret & WithSecretName(const char *value)
Definition EksSecret.h:57
EksSecret & WithOptional(bool value)
Definition EksSecret.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue