AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Secret.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
40 class Secret
41 {
42 public:
43 AWS_ECS_API Secret();
44 AWS_ECS_API Secret(Aws::Utils::Json::JsonView jsonValue);
47
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline Secret& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline Secret& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline Secret& WithName(const char* value) { SetName(value); return *this;}
62
64
79 inline const Aws::String& GetValueFrom() const{ return m_valueFrom; }
80 inline bool ValueFromHasBeenSet() const { return m_valueFromHasBeenSet; }
81 inline void SetValueFrom(const Aws::String& value) { m_valueFromHasBeenSet = true; m_valueFrom = value; }
82 inline void SetValueFrom(Aws::String&& value) { m_valueFromHasBeenSet = true; m_valueFrom = std::move(value); }
83 inline void SetValueFrom(const char* value) { m_valueFromHasBeenSet = true; m_valueFrom.assign(value); }
84 inline Secret& WithValueFrom(const Aws::String& value) { SetValueFrom(value); return *this;}
85 inline Secret& WithValueFrom(Aws::String&& value) { SetValueFrom(std::move(value)); return *this;}
86 inline Secret& WithValueFrom(const char* value) { SetValueFrom(value); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_valueFrom;
94 bool m_valueFromHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ECS
99} // namespace Aws
void SetName(Aws::String &&value)
Definition Secret.h:56
Secret & WithValueFrom(Aws::String &&value)
Definition Secret.h:85
AWS_ECS_API Secret & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValueFrom() const
Definition Secret.h:79
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Secret & WithValueFrom(const char *value)
Definition Secret.h:86
void SetValueFrom(Aws::String &&value)
Definition Secret.h:82
Secret & WithName(const Aws::String &value)
Definition Secret.h:58
void SetName(const Aws::String &value)
Definition Secret.h:55
void SetValueFrom(const char *value)
Definition Secret.h:83
Secret & WithName(Aws::String &&value)
Definition Secret.h:59
AWS_ECS_API Secret(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Secret.h:53
void SetValueFrom(const Aws::String &value)
Definition Secret.h:81
Secret & WithName(const char *value)
Definition Secret.h:60
bool ValueFromHasBeenSet() const
Definition Secret.h:80
bool NameHasBeenSet() const
Definition Secret.h:54
Secret & WithValueFrom(const Aws::String &value)
Definition Secret.h:84
void SetName(const char *value)
Definition Secret.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue