AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentState.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Proton
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PROTON_API ComponentState() = default;
36 AWS_PROTON_API ComponentState(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetServiceInstanceName() const { return m_serviceInstanceName; }
47 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
48 template<typename ServiceInstanceNameT = Aws::String>
49 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
50 template<typename ServiceInstanceNameT = Aws::String>
51 ComponentState& WithServiceInstanceName(ServiceInstanceNameT&& value) { SetServiceInstanceName(std::forward<ServiceInstanceNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetServiceName() const { return m_serviceName; }
60 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
61 template<typename ServiceNameT = Aws::String>
62 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
63 template<typename ServiceNameT = Aws::String>
64 ComponentState& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetServiceSpec() const { return m_serviceSpec; }
73 inline bool ServiceSpecHasBeenSet() const { return m_serviceSpecHasBeenSet; }
74 template<typename ServiceSpecT = Aws::String>
75 void SetServiceSpec(ServiceSpecT&& value) { m_serviceSpecHasBeenSet = true; m_serviceSpec = std::forward<ServiceSpecT>(value); }
76 template<typename ServiceSpecT = Aws::String>
77 ComponentState& WithServiceSpec(ServiceSpecT&& value) { SetServiceSpec(std::forward<ServiceSpecT>(value)); return *this;}
79
81
84 inline const Aws::String& GetTemplateFile() const { return m_templateFile; }
85 inline bool TemplateFileHasBeenSet() const { return m_templateFileHasBeenSet; }
86 template<typename TemplateFileT = Aws::String>
87 void SetTemplateFile(TemplateFileT&& value) { m_templateFileHasBeenSet = true; m_templateFile = std::forward<TemplateFileT>(value); }
88 template<typename TemplateFileT = Aws::String>
89 ComponentState& WithTemplateFile(TemplateFileT&& value) { SetTemplateFile(std::forward<TemplateFileT>(value)); return *this;}
91 private:
92
93 Aws::String m_serviceInstanceName;
94 bool m_serviceInstanceNameHasBeenSet = false;
95
96 Aws::String m_serviceName;
97 bool m_serviceNameHasBeenSet = false;
98
99 Aws::String m_serviceSpec;
100 bool m_serviceSpecHasBeenSet = false;
101
102 Aws::String m_templateFile;
103 bool m_templateFileHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Proton
108} // namespace Aws
void SetServiceName(ServiceNameT &&value)
ComponentState & WithServiceSpec(ServiceSpecT &&value)
const Aws::String & GetTemplateFile() const
ComponentState & WithServiceName(ServiceNameT &&value)
AWS_PROTON_API ComponentState()=default
AWS_PROTON_API ComponentState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceSpec(ServiceSpecT &&value)
void SetTemplateFile(TemplateFileT &&value)
ComponentState & WithTemplateFile(TemplateFileT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceSpec() const
const Aws::String & GetServiceName() const
const Aws::String & GetServiceInstanceName() const
AWS_PROTON_API ComponentState(Aws::Utils::Json::JsonView jsonValue)
ComponentState & WithServiceInstanceName(ServiceInstanceNameT &&value)
void SetServiceInstanceName(ServiceInstanceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue