AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExportedEnvironmentVariable.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeBuild {
20namespace Model {
21
38 public:
39 AWS_CODEBUILD_API ExportedEnvironmentVariable() = default;
42 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template <typename NameT = Aws::String>
51 void SetName(NameT&& value) {
52 m_nameHasBeenSet = true;
53 m_name = std::forward<NameT>(value);
54 }
55 template <typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 template <typename ValueT = Aws::String>
69 void SetValue(ValueT&& value) {
70 m_valueHasBeenSet = true;
71 m_value = std::forward<ValueT>(value);
72 }
73 template <typename ValueT = Aws::String>
75 SetValue(std::forward<ValueT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_name;
81
82 Aws::String m_value;
83 bool m_nameHasBeenSet = false;
84 bool m_valueHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CodeBuild
89} // namespace Aws
AWS_CODEBUILD_API ExportedEnvironmentVariable()=default
ExportedEnvironmentVariable & WithName(NameT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ExportedEnvironmentVariable(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API ExportedEnvironmentVariable & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportedEnvironmentVariable & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue