AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
56 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
63 inline const EcsEnvironmentFileType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const EcsEnvironmentFileType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(EcsEnvironmentFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline EcsEnvironmentFile& WithType(const EcsEnvironmentFileType& value) { SetType(value); return *this;}
68 inline EcsEnvironmentFile& WithType(EcsEnvironmentFileType&& value) { SetType(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetValue() const{ return m_value; }
77 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
79 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
80 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
81 inline EcsEnvironmentFile& WithValue(const Aws::String& value) { SetValue(value); return *this;}
82 inline EcsEnvironmentFile& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
83 inline EcsEnvironmentFile& WithValue(const char* value) { SetValue(value); return *this;}
85 private:
86
88 bool m_typeHasBeenSet = false;
89
90 Aws::String m_value;
91 bool m_valueHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Pipes
96} // namespace Aws
const EcsEnvironmentFileType & GetType() const
void SetValue(const Aws::String &value)
EcsEnvironmentFile & WithValue(const char *value)
EcsEnvironmentFile & WithType(EcsEnvironmentFileType &&value)
void SetType(EcsEnvironmentFileType &&value)
void SetType(const EcsEnvironmentFileType &value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
EcsEnvironmentFile & WithType(const EcsEnvironmentFileType &value)
AWS_PIPES_API EcsEnvironmentFile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
AWS_PIPES_API EcsEnvironmentFile(Aws::Utils::Json::JsonView jsonValue)
EcsEnvironmentFile & WithValue(Aws::String &&value)
EcsEnvironmentFile & WithValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue