AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ResourceAttribute& GetAttribute() const{ return m_attribute; }
48 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
49 inline void SetAttribute(const ResourceAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; }
50 inline void SetAttribute(ResourceAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
51 inline ResourceTargetDefinition& WithAttribute(const ResourceAttribute& value) { SetAttribute(value); return *this;}
52 inline ResourceTargetDefinition& WithAttribute(ResourceAttribute&& value) { SetAttribute(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline ResourceTargetDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline ResourceTargetDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline ResourceTargetDefinition& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const RequiresRecreation& GetRequiresRecreation() const{ return m_requiresRecreation; }
76 inline bool RequiresRecreationHasBeenSet() const { return m_requiresRecreationHasBeenSet; }
77 inline void SetRequiresRecreation(const RequiresRecreation& value) { m_requiresRecreationHasBeenSet = true; m_requiresRecreation = value; }
78 inline void SetRequiresRecreation(RequiresRecreation&& value) { m_requiresRecreationHasBeenSet = true; m_requiresRecreation = std::move(value); }
82 private:
83
84 ResourceAttribute m_attribute;
85 bool m_attributeHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 RequiresRecreation m_requiresRecreation;
91 bool m_requiresRecreationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ServiceCatalog
96} // namespace Aws
void SetRequiresRecreation(const RequiresRecreation &value)
AWS_SERVICECATALOG_API ResourceTargetDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceTargetDefinition & WithRequiresRecreation(RequiresRecreation &&value)
ResourceTargetDefinition & WithName(const char *value)
ResourceTargetDefinition & WithRequiresRecreation(const RequiresRecreation &value)
ResourceTargetDefinition & WithAttribute(const ResourceAttribute &value)
ResourceTargetDefinition & WithName(Aws::String &&value)
ResourceTargetDefinition & WithName(const Aws::String &value)
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