AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceActionSummary.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/ServiceActionDefinitionType.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 ServiceActionSummary();
37 AWS_SERVICECATALOG_API ServiceActionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICECATALOG_API ServiceActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ServiceActionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ServiceActionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ServiceActionSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
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 ServiceActionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline ServiceActionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline ServiceActionSummary& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ServiceActionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ServiceActionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ServiceActionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
89 inline const ServiceActionDefinitionType& GetDefinitionType() const{ return m_definitionType; }
90 inline bool DefinitionTypeHasBeenSet() const { return m_definitionTypeHasBeenSet; }
91 inline void SetDefinitionType(const ServiceActionDefinitionType& value) { m_definitionTypeHasBeenSet = true; m_definitionType = value; }
92 inline void SetDefinitionType(ServiceActionDefinitionType&& value) { m_definitionTypeHasBeenSet = true; m_definitionType = std::move(value); }
94 inline ServiceActionSummary& WithDefinitionType(ServiceActionDefinitionType&& value) { SetDefinitionType(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_id;
99 bool m_idHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 ServiceActionDefinitionType m_definitionType;
108 bool m_definitionTypeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ServiceCatalog
113} // namespace Aws
ServiceActionSummary & WithDefinitionType(ServiceActionDefinitionType &&value)
AWS_SERVICECATALOG_API ServiceActionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDefinitionType(const ServiceActionDefinitionType &value)
ServiceActionSummary & WithId(const char *value)
AWS_SERVICECATALOG_API ServiceActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceActionSummary & WithDescription(const char *value)
ServiceActionSummary & WithDefinitionType(const ServiceActionDefinitionType &value)
ServiceActionSummary & WithName(const Aws::String &value)
ServiceActionSummary & WithDescription(const Aws::String &value)
ServiceActionSummary & WithName(Aws::String &&value)
void SetDefinitionType(ServiceActionDefinitionType &&value)
ServiceActionSummary & WithId(const Aws::String &value)
ServiceActionSummary & WithName(const char *value)
ServiceActionSummary & WithDescription(Aws::String &&value)
ServiceActionSummary & WithId(Aws::String &&value)
const ServiceActionDefinitionType & GetDefinitionType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue