AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceActionDetail.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ServiceActionSummary.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/servicecatalog/model/ServiceActionDefinitionKey.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ServiceCatalog
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SERVICECATALOG_API ServiceActionDetail();
39 AWS_SERVICECATALOG_API ServiceActionDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API ServiceActionDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ServiceActionSummary& GetServiceActionSummary() const{ return m_serviceActionSummary; }
49 inline bool ServiceActionSummaryHasBeenSet() const { return m_serviceActionSummaryHasBeenSet; }
50 inline void SetServiceActionSummary(const ServiceActionSummary& value) { m_serviceActionSummaryHasBeenSet = true; m_serviceActionSummary = value; }
51 inline void SetServiceActionSummary(ServiceActionSummary&& value) { m_serviceActionSummaryHasBeenSet = true; m_serviceActionSummary = std::move(value); }
55
57
60 inline const Aws::Map<ServiceActionDefinitionKey, Aws::String>& GetDefinition() const{ return m_definition; }
61 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
62 inline void SetDefinition(const Aws::Map<ServiceActionDefinitionKey, Aws::String>& value) { m_definitionHasBeenSet = true; m_definition = value; }
63 inline void SetDefinition(Aws::Map<ServiceActionDefinitionKey, Aws::String>&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
66 inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
67 inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
68 inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, std::move(value)); return *this; }
69 inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), std::move(value)); return *this; }
70 inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
71 inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
73 private:
74
75 ServiceActionSummary m_serviceActionSummary;
76 bool m_serviceActionSummaryHasBeenSet = false;
77
79 bool m_definitionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ServiceCatalog
84} // namespace Aws
AWS_SERVICECATALOG_API ServiceActionDetail(Aws::Utils::Json::JsonView jsonValue)
ServiceActionDetail & WithDefinition(Aws::Map< ServiceActionDefinitionKey, Aws::String > &&value)
ServiceActionDetail & WithServiceActionSummary(const ServiceActionSummary &value)
ServiceActionDetail & AddDefinition(ServiceActionDefinitionKey &&key, Aws::String &&value)
void SetDefinition(const Aws::Map< ServiceActionDefinitionKey, Aws::String > &value)
void SetServiceActionSummary(ServiceActionSummary &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceActionSummary & GetServiceActionSummary() const
AWS_SERVICECATALOG_API ServiceActionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefinition(Aws::Map< ServiceActionDefinitionKey, Aws::String > &&value)
ServiceActionDetail & WithServiceActionSummary(ServiceActionSummary &&value)
ServiceActionDetail & AddDefinition(const ServiceActionDefinitionKey &key, const char *value)
ServiceActionDetail & AddDefinition(const ServiceActionDefinitionKey &key, Aws::String &&value)
ServiceActionDetail & AddDefinition(ServiceActionDefinitionKey &&key, const char *value)
const Aws::Map< ServiceActionDefinitionKey, Aws::String > & GetDefinition() const
ServiceActionDetail & AddDefinition(const ServiceActionDefinitionKey &key, const Aws::String &value)
void SetServiceActionSummary(const ServiceActionSummary &value)
ServiceActionDetail & WithDefinition(const Aws::Map< ServiceActionDefinitionKey, Aws::String > &value)
ServiceActionDetail & AddDefinition(ServiceActionDefinitionKey &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue