AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EnvironmentFile.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
51 {
52 public:
57
58
63 inline const Aws::String& GetValue() const{ return m_value; }
64
69 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70
75 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
76
81 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
82
87 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
88
93 inline EnvironmentFile& WithValue(const Aws::String& value) { SetValue(value); return *this;}
94
99 inline EnvironmentFile& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
100
105 inline EnvironmentFile& WithValue(const char* value) { SetValue(value); return *this;}
106
107
111 inline const EnvironmentFileType& GetType() const{ return m_type; }
112
116 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
117
121 inline void SetType(const EnvironmentFileType& value) { m_typeHasBeenSet = true; m_type = value; }
122
126 inline void SetType(EnvironmentFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
127
131 inline EnvironmentFile& WithType(const EnvironmentFileType& value) { SetType(value); return *this;}
132
136 inline EnvironmentFile& WithType(EnvironmentFileType&& value) { SetType(std::move(value)); return *this;}
137
138 private:
139
140 Aws::String m_value;
141 bool m_valueHasBeenSet = false;
142
143 EnvironmentFileType m_type;
144 bool m_typeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace ECS
149} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
const Aws::String & GetValue() const
void SetValue(const Aws::String &value)
EnvironmentFile & WithValue(const char *value)
EnvironmentFile & WithType(const EnvironmentFileType &value)
EnvironmentFile & WithType(EnvironmentFileType &&value)
AWS_ECS_API EnvironmentFile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const EnvironmentFileType &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentFile & WithValue(const Aws::String &value)
void SetType(EnvironmentFileType &&value)
AWS_ECS_API EnvironmentFile(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const char *value)
const EnvironmentFileType & GetType() const
void SetValue(Aws::String &&value)
EnvironmentFile & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String