7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSAllocator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CloudExtensions {
22class SettingDefinition;
33 AWS_CLOUDEXTENSIONS_API
Setting() =
default;
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
64 template <
typename DisplayNameT = Aws::String>
66 m_displayNameHasBeenSet =
true;
67 m_displayName = std::forward<DisplayNameT>(value);
69 template <
typename DisplayNameT = Aws::String>
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
103 m_requiredHasBeenSet =
true;
120 template <
typename ActiveWhenT = Aws::String>
122 m_activeWhenHasBeenSet =
true;
123 m_activeWhen = std::forward<ActiveWhenT>(value);
125 template <
typename ActiveWhenT = Aws::String>
138 template <
typename DefinitionT = SettingDefinition>
140 m_definitionHasBeenSet =
true;
143 template <
typename DefinitionT = SettingDefinition>
156 bool m_required{
false};
160 std::shared_ptr<SettingDefinition> m_definition;
161 bool m_idHasBeenSet =
false;
162 bool m_displayNameHasBeenSet =
false;
163 bool m_descriptionHasBeenSet =
false;
164 bool m_requiredHasBeenSet =
false;
165 bool m_activeWhenHasBeenSet =
false;
166 bool m_definitionHasBeenSet =
false;
const Aws::String & GetActiveWhen() const
AWS_CLOUDEXTENSIONS_API Setting & operator=(Aws::Utils::Json::JsonView jsonValue)
Setting & WithActiveWhen(ActiveWhenT &&value)
const SettingDefinition & GetDefinition() const
Setting & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetId() const
void SetActiveWhen(ActiveWhenT &&value)
Setting & WithRequired(bool value)
Setting & WithDescription(DescriptionT &&value)
AWS_CLOUDEXTENSIONS_API Setting(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetDefinition(DefinitionT &&value)
Setting & WithDefinition(DefinitionT &&value)
bool DescriptionHasBeenSet() const
bool DefinitionHasBeenSet() const
bool DisplayNameHasBeenSet() const
void SetRequired(bool value)
bool ActiveWhenHasBeenSet() const
bool IdHasBeenSet() const
AWS_CLOUDEXTENSIONS_API Setting()=default
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
Setting & WithId(IdT &&value)
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
bool RequiredHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue