AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResourceTargetDefinition.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ResourceAttribute.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog/model/RequiresRecreation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ServiceCatalog
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICECATALOG_API ResourceTargetDefinition() = default;
38 AWS_SERVICECATALOG_API ResourceTargetDefinition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline ResourceAttribute GetAttribute() const { return m_attribute; }
48 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
49 inline void SetAttribute(ResourceAttribute value) { m_attributeHasBeenSet = true; m_attribute = value; }
52
54
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 ResourceTargetDefinition& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline RequiresRecreation GetRequiresRecreation() const { return m_requiresRecreation; }
72 inline bool RequiresRecreationHasBeenSet() const { return m_requiresRecreationHasBeenSet; }
73 inline void SetRequiresRecreation(RequiresRecreation value) { m_requiresRecreationHasBeenSet = true; m_requiresRecreation = value; }
76 private:
77
79 bool m_attributeHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
85 bool m_requiresRecreationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ServiceCatalog
90} // namespace Aws
AWS_SERVICECATALOG_API ResourceTargetDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceTargetDefinition & WithRequiresRecreation(RequiresRecreation value)
ResourceTargetDefinition & WithName(NameT &&value)
AWS_SERVICECATALOG_API ResourceTargetDefinition()=default
ResourceTargetDefinition & WithAttribute(ResourceAttribute value)
AWS_SERVICECATALOG_API ResourceTargetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue