AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterServiceConnectDefaults.h
Go to the documentation of this file.
1
6#pragma once
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 ECS
22{
23namespace Model
24{
25
47 {
48 public:
53
54
60 inline const Aws::String& GetNamespace() const{ return m_namespace; }
61
67 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
68
74 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
75
81 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
82
88 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
89
95 inline ClusterServiceConnectDefaults& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
96
102 inline ClusterServiceConnectDefaults& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
103
109 inline ClusterServiceConnectDefaults& WithNamespace(const char* value) { SetNamespace(value); return *this;}
110
111 private:
112
113 Aws::String m_namespace;
114 bool m_namespaceHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace ECS
119} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API ClusterServiceConnectDefaults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterServiceConnectDefaults & WithNamespace(const char *value)
ClusterServiceConnectDefaults & WithNamespace(const Aws::String &value)
ClusterServiceConnectDefaults & WithNamespace(Aws::String &&value)
AWS_ECS_API ClusterServiceConnectDefaults(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String