AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
EnvironmentVariableOutput.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/EnvironmentVariableScope.h>
9#include <aws/amplifygen3/model/EnvironmentVariableType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyGen3 {
22namespace Model {
23
30 public:
31 AWS_AMPLIFYGEN3_API EnvironmentVariableOutput() = default;
34 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetKey() const { return m_key; }
41 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
42 template <typename KeyT = Aws::String>
43 void SetKey(KeyT&& value) {
44 m_keyHasBeenSet = true;
45 m_key = std::forward<KeyT>(value);
46 }
47 template <typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template <typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) {
62 m_valueHasBeenSet = true;
63 m_value = std::forward<ValueT>(value);
64 }
65 template <typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
68 return *this;
69 }
71
73
76 inline EnvironmentVariableType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(EnvironmentVariableType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetComment() const { return m_comment; }
93 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
94 template <typename CommentT = Aws::String>
95 void SetComment(CommentT&& value) {
96 m_commentHasBeenSet = true;
97 m_comment = std::forward<CommentT>(value);
98 }
99 template <typename CommentT = Aws::String>
101 SetComment(std::forward<CommentT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetSourceIntegrationArn() const { return m_sourceIntegrationArn; }
112 inline bool SourceIntegrationArnHasBeenSet() const { return m_sourceIntegrationArnHasBeenSet; }
113 template <typename SourceIntegrationArnT = Aws::String>
114 void SetSourceIntegrationArn(SourceIntegrationArnT&& value) {
115 m_sourceIntegrationArnHasBeenSet = true;
116 m_sourceIntegrationArn = std::forward<SourceIntegrationArnT>(value);
117 }
118 template <typename SourceIntegrationArnT = Aws::String>
119 EnvironmentVariableOutput& WithSourceIntegrationArn(SourceIntegrationArnT&& value) {
120 SetSourceIntegrationArn(std::forward<SourceIntegrationArnT>(value));
121 return *this;
122 }
124
126
129 inline EnvironmentVariableScope GetScope() const { return m_scope; }
130 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
132 m_scopeHasBeenSet = true;
133 m_scope = value;
134 }
136 SetScope(value);
137 return *this;
138 }
140 private:
141 Aws::String m_key;
142
143 Aws::String m_value;
144
146
147 Aws::String m_comment;
148
149 Aws::String m_sourceIntegrationArn;
150
152 bool m_keyHasBeenSet = false;
153 bool m_valueHasBeenSet = false;
154 bool m_typeHasBeenSet = false;
155 bool m_commentHasBeenSet = false;
156 bool m_sourceIntegrationArnHasBeenSet = false;
157 bool m_scopeHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace AmplifyGen3
162} // namespace Aws
AWS_AMPLIFYGEN3_API EnvironmentVariableOutput()=default
EnvironmentVariableOutput & WithScope(EnvironmentVariableScope value)
EnvironmentVariableOutput & WithValue(ValueT &&value)
EnvironmentVariableOutput & WithType(EnvironmentVariableType value)
EnvironmentVariableOutput & WithComment(CommentT &&value)
EnvironmentVariableOutput & WithKey(KeyT &&value)
EnvironmentVariableOutput & WithSourceIntegrationArn(SourceIntegrationArnT &&value)
AWS_AMPLIFYGEN3_API EnvironmentVariableOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API EnvironmentVariableOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue