AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentFile.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/EnvironmentFileType.h>
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
54 {
55 public:
56 AWS_ECS_API EnvironmentFile();
60
61
63
67 inline const Aws::String& GetValue() const{ return m_value; }
68 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
69 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
70 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
71 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
72 inline EnvironmentFile& WithValue(const Aws::String& value) { SetValue(value); return *this;}
73 inline EnvironmentFile& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
74 inline EnvironmentFile& WithValue(const char* value) { SetValue(value); return *this;}
76
78
82 inline const EnvironmentFileType& GetType() const{ return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(const EnvironmentFileType& value) { m_typeHasBeenSet = true; m_type = value; }
85 inline void SetType(EnvironmentFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
86 inline EnvironmentFile& WithType(const EnvironmentFileType& value) { SetType(value); return *this;}
87 inline EnvironmentFile& WithType(EnvironmentFileType&& value) { SetType(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_value;
92 bool m_valueHasBeenSet = false;
93
95 bool m_typeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ECS
100} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue