AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ProvisioningArtifactParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10#include <aws/servicecatalog/model/ParameterConstraints.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace ServiceCatalog {
21namespace Model {
22
30 public:
31 AWS_SERVICECATALOG_API ProvisioningArtifactParameter() = default;
32 AWS_SERVICECATALOG_API ProvisioningArtifactParameter(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API ProvisioningArtifactParameter& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetParameterKey() const { return m_parameterKey; }
41 inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; }
42 template <typename ParameterKeyT = Aws::String>
43 void SetParameterKey(ParameterKeyT&& value) {
44 m_parameterKeyHasBeenSet = true;
45 m_parameterKey = std::forward<ParameterKeyT>(value);
46 }
47 template <typename ParameterKeyT = Aws::String>
49 SetParameterKey(std::forward<ParameterKeyT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
59 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
60 template <typename DefaultValueT = Aws::String>
61 void SetDefaultValue(DefaultValueT&& value) {
62 m_defaultValueHasBeenSet = true;
63 m_defaultValue = std::forward<DefaultValueT>(value);
64 }
65 template <typename DefaultValueT = Aws::String>
67 SetDefaultValue(std::forward<DefaultValueT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetParameterType() const { return m_parameterType; }
77 inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; }
78 template <typename ParameterTypeT = Aws::String>
79 void SetParameterType(ParameterTypeT&& value) {
80 m_parameterTypeHasBeenSet = true;
81 m_parameterType = std::forward<ParameterTypeT>(value);
82 }
83 template <typename ParameterTypeT = Aws::String>
85 SetParameterType(std::forward<ParameterTypeT>(value));
86 return *this;
87 }
89
91
96 inline bool GetIsNoEcho() const { return m_isNoEcho; }
97 inline bool IsNoEchoHasBeenSet() const { return m_isNoEchoHasBeenSet; }
98 inline void SetIsNoEcho(bool value) {
99 m_isNoEchoHasBeenSet = true;
100 m_isNoEcho = value;
101 }
103 SetIsNoEcho(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetDescription() const { return m_description; }
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 template <typename DescriptionT = Aws::String>
115 void SetDescription(DescriptionT&& value) {
116 m_descriptionHasBeenSet = true;
117 m_description = std::forward<DescriptionT>(value);
118 }
119 template <typename DescriptionT = Aws::String>
121 SetDescription(std::forward<DescriptionT>(value));
122 return *this;
123 }
125
127
130 inline const ParameterConstraints& GetParameterConstraints() const { return m_parameterConstraints; }
131 inline bool ParameterConstraintsHasBeenSet() const { return m_parameterConstraintsHasBeenSet; }
132 template <typename ParameterConstraintsT = ParameterConstraints>
133 void SetParameterConstraints(ParameterConstraintsT&& value) {
134 m_parameterConstraintsHasBeenSet = true;
135 m_parameterConstraints = std::forward<ParameterConstraintsT>(value);
136 }
137 template <typename ParameterConstraintsT = ParameterConstraints>
139 SetParameterConstraints(std::forward<ParameterConstraintsT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_parameterKey;
145
146 Aws::String m_defaultValue;
147
148 Aws::String m_parameterType;
149
150 bool m_isNoEcho{false};
151
152 Aws::String m_description;
153
154 ParameterConstraints m_parameterConstraints;
155 bool m_parameterKeyHasBeenSet = false;
156 bool m_defaultValueHasBeenSet = false;
157 bool m_parameterTypeHasBeenSet = false;
158 bool m_isNoEchoHasBeenSet = false;
159 bool m_descriptionHasBeenSet = false;
160 bool m_parameterConstraintsHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace ServiceCatalog
165} // namespace Aws
ProvisioningArtifactParameter & WithDescription(DescriptionT &&value)
ProvisioningArtifactParameter & WithParameterConstraints(ParameterConstraintsT &&value)
ProvisioningArtifactParameter & WithDefaultValue(DefaultValueT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactParameter()=default
AWS_SERVICECATALOG_API ProvisioningArtifactParameter(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProvisioningArtifactParameter & WithParameterKey(ParameterKeyT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactParameter & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ProvisioningArtifactParameter & WithParameterType(ParameterTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String