AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TemplateParameterConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/model/TemplateParameterDataType.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 EMRContainers
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_EMRCONTAINERS_API TemplateParameterConfiguration() = default;
38 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline TemplateParameterDataType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(TemplateParameterDataType value) { m_typeHasBeenSet = true; m_type = value; }
51
53
56 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
57 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
58 template<typename DefaultValueT = Aws::String>
59 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
60 template<typename DefaultValueT = Aws::String>
61 TemplateParameterConfiguration& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
63 private:
64
66 bool m_typeHasBeenSet = false;
67
68 Aws::String m_defaultValue;
69 bool m_defaultValueHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace EMRContainers
74} // namespace Aws
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRCONTAINERS_API TemplateParameterConfiguration(Aws::Utils::Json::JsonView jsonValue)
TemplateParameterConfiguration & WithDefaultValue(DefaultValueT &&value)
AWS_EMRCONTAINERS_API TemplateParameterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateParameterConfiguration & WithType(TemplateParameterDataType value)
AWS_EMRCONTAINERS_API TemplateParameterConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue