AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
60
61
63
67 inline const Aws::String& GetValue() const { return m_value; }
68 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
69 template<typename ValueT = Aws::String>
70 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
71 template<typename ValueT = Aws::String>
72 EnvironmentFile& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
74
76
80 inline EnvironmentFileType GetType() const { return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(EnvironmentFileType value) { m_typeHasBeenSet = true; m_type = value; }
83 inline EnvironmentFile& WithType(EnvironmentFileType value) { SetType(value); return *this;}
85 private:
86
87 Aws::String m_value;
88 bool m_valueHasBeenSet = false;
89
91 bool m_typeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ECS
96} // namespace Aws
const Aws::String & GetValue() const
EnvironmentFile & WithValue(ValueT &&value)
AWS_ECS_API EnvironmentFile & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentFile & WithType(EnvironmentFileType value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(EnvironmentFileType value)
AWS_ECS_API EnvironmentFile()=default
AWS_ECS_API EnvironmentFile(Aws::Utils::Json::JsonView jsonValue)
EnvironmentFileType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue