AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Domain.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/simspaceweaver/model/LifecycleManagementStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SimSpaceWeaver
23{
24namespace Model
25{
26
37 class Domain
38 {
39 public:
40 AWS_SIMSPACEWEAVER_API Domain();
41 AWS_SIMSPACEWEAVER_API Domain(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SIMSPACEWEAVER_API Domain& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
58 inline const LifecycleManagementStrategy& GetLifecycle() const{ return m_lifecycle; }
59 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
60 inline void SetLifecycle(const LifecycleManagementStrategy& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
61 inline void SetLifecycle(LifecycleManagementStrategy&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); }
62 inline Domain& WithLifecycle(const LifecycleManagementStrategy& value) { SetLifecycle(value); return *this;}
63 inline Domain& WithLifecycle(LifecycleManagementStrategy&& value) { SetLifecycle(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 inline Domain& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline Domain& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline Domain& WithName(const char* value) { SetName(value); return *this;}
79 private:
80
82 bool m_lifecycleHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SimSpaceWeaver
90} // namespace Aws
Domain & WithLifecycle(const LifecycleManagementStrategy &value)
Definition Domain.h:62
void SetName(const char *value)
Definition Domain.h:74
void SetName(const Aws::String &value)
Definition Domain.h:72
Domain & WithName(const char *value)
Definition Domain.h:77
AWS_SIMSPACEWEAVER_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
Domain & WithName(const Aws::String &value)
Definition Domain.h:75
Domain & WithName(Aws::String &&value)
Definition Domain.h:76
void SetLifecycle(LifecycleManagementStrategy &&value)
Definition Domain.h:61
AWS_SIMSPACEWEAVER_API Domain(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
const LifecycleManagementStrategy & GetLifecycle() const
Definition Domain.h:58
AWS_SIMSPACEWEAVER_API Domain()
void SetLifecycle(const LifecycleManagementStrategy &value)
Definition Domain.h:60
const Aws::String & GetName() const
Definition Domain.h:70
Domain & WithLifecycle(LifecycleManagementStrategy &&value)
Definition Domain.h:63
void SetName(Aws::String &&value)
Definition Domain.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue