AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
EcsEnvironmentFile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9#include <aws/pipes/model/EcsEnvironmentFileType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pipes {
21namespace Model {
22
47 public:
48 AWS_PIPES_API EcsEnvironmentFile() = default;
51 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline EcsEnvironmentFileType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(EcsEnvironmentFileType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
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) {
78 m_valueHasBeenSet = true;
79 m_value = std::forward<ValueT>(value);
80 }
81 template <typename ValueT = Aws::String>
82 EcsEnvironmentFile& WithValue(ValueT&& value) {
83 SetValue(std::forward<ValueT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::String m_value;
91 bool m_typeHasBeenSet = false;
92 bool m_valueHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Pipes
97} // 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