AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Domain.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
9#include <aws/simspaceweaver/model/LifecycleManagementStrategy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SimSpaceWeaver {
21namespace Model {
22
33class Domain {
34 public:
35 AWS_SIMSPACEWEAVER_API Domain() = default;
36 AWS_SIMSPACEWEAVER_API Domain(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SIMSPACEWEAVER_API Domain& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
52 inline LifecycleManagementStrategy GetLifecycle() const { return m_lifecycle; }
53 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
55 m_lifecycleHasBeenSet = true;
56 m_lifecycle = value;
57 }
59 SetLifecycle(value);
60 return *this;
61 }
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
76 Domain& WithName(NameT&& value) {
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81 private:
83
84 Aws::String m_name;
85 bool m_lifecycleHasBeenSet = false;
86 bool m_nameHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace SimSpaceWeaver
91} // namespace Aws
AWS_SIMSPACEWEAVER_API Domain()=default
LifecycleManagementStrategy GetLifecycle() const
Definition Domain.h:52
void SetName(NameT &&value)
Definition Domain.h:71
AWS_SIMSPACEWEAVER_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
Domain & WithName(NameT &&value)
Definition Domain.h:76
void SetLifecycle(LifecycleManagementStrategy value)
Definition Domain.h:54
AWS_SIMSPACEWEAVER_API Domain(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
Definition Domain.h:68
Domain & WithLifecycle(LifecycleManagementStrategy value)
Definition Domain.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue