AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EcsEnvironmentFile.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/EcsEnvironmentFileType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Pipes
23{
24namespace Model
25{
26
51 {
52 public:
53 AWS_PIPES_API EcsEnvironmentFile() = default;
56 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
63 inline EcsEnvironmentFileType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(EcsEnvironmentFileType value) { m_typeHasBeenSet = true; m_type = value; }
66 inline EcsEnvironmentFile& WithType(EcsEnvironmentFileType value) { SetType(value); return *this;}
68
70
74 inline const Aws::String& GetValue() const { return m_value; }
75 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
76 template<typename ValueT = Aws::String>
77 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
78 template<typename ValueT = Aws::String>
79 EcsEnvironmentFile& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
81 private:
82
84 bool m_typeHasBeenSet = false;
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Pipes
92} // namespace Aws
EcsEnvironmentFileType GetType() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PIPES_API EcsEnvironmentFile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
AWS_PIPES_API EcsEnvironmentFile()=default
AWS_PIPES_API EcsEnvironmentFile(Aws::Utils::Json::JsonView jsonValue)
EcsEnvironmentFile & WithType(EcsEnvironmentFileType value)
void SetType(EcsEnvironmentFileType value)
EcsEnvironmentFile & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue