AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProvisioningArtifactParameter.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog/model/ParameterConstraints.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 ServiceCatalog
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SERVICECATALOG_API ProvisioningArtifactParameter() = default;
39 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetParameterKey() const { return m_parameterKey; }
47 inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; }
48 template<typename ParameterKeyT = Aws::String>
49 void SetParameterKey(ParameterKeyT&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::forward<ParameterKeyT>(value); }
50 template<typename ParameterKeyT = Aws::String>
51 ProvisioningArtifactParameter& WithParameterKey(ParameterKeyT&& value) { SetParameterKey(std::forward<ParameterKeyT>(value)); return *this;}
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) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
62 template<typename DefaultValueT = Aws::String>
63 ProvisioningArtifactParameter& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
65
67
70 inline const Aws::String& GetParameterType() const { return m_parameterType; }
71 inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; }
72 template<typename ParameterTypeT = Aws::String>
73 void SetParameterType(ParameterTypeT&& value) { m_parameterTypeHasBeenSet = true; m_parameterType = std::forward<ParameterTypeT>(value); }
74 template<typename ParameterTypeT = Aws::String>
75 ProvisioningArtifactParameter& WithParameterType(ParameterTypeT&& value) { SetParameterType(std::forward<ParameterTypeT>(value)); return *this;}
77
79
84 inline bool GetIsNoEcho() const { return m_isNoEcho; }
85 inline bool IsNoEchoHasBeenSet() const { return m_isNoEchoHasBeenSet; }
86 inline void SetIsNoEcho(bool value) { m_isNoEchoHasBeenSet = true; m_isNoEcho = value; }
87 inline ProvisioningArtifactParameter& WithIsNoEcho(bool value) { SetIsNoEcho(value); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 ProvisioningArtifactParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
106 inline const ParameterConstraints& GetParameterConstraints() const { return m_parameterConstraints; }
107 inline bool ParameterConstraintsHasBeenSet() const { return m_parameterConstraintsHasBeenSet; }
108 template<typename ParameterConstraintsT = ParameterConstraints>
109 void SetParameterConstraints(ParameterConstraintsT&& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = std::forward<ParameterConstraintsT>(value); }
110 template<typename ParameterConstraintsT = ParameterConstraints>
111 ProvisioningArtifactParameter& WithParameterConstraints(ParameterConstraintsT&& value) { SetParameterConstraints(std::forward<ParameterConstraintsT>(value)); return *this;}
113 private:
114
115 Aws::String m_parameterKey;
116 bool m_parameterKeyHasBeenSet = false;
117
118 Aws::String m_defaultValue;
119 bool m_defaultValueHasBeenSet = false;
120
121 Aws::String m_parameterType;
122 bool m_parameterTypeHasBeenSet = false;
123
124 bool m_isNoEcho{false};
125 bool m_isNoEchoHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 ParameterConstraints m_parameterConstraints;
131 bool m_parameterConstraintsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ServiceCatalog
136} // namespace Aws
ProvisioningArtifactParameter & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API ProvisioningArtifactParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactParameter & WithParameterConstraints(ParameterConstraintsT &&value)
ProvisioningArtifactParameter & WithDefaultValue(DefaultValueT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactParameter()=default
ProvisioningArtifactParameter & WithParameterKey(ParameterKeyT &&value)
ProvisioningArtifactParameter & WithParameterType(ParameterTypeT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactParameter(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue