AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterServiceConnectDefaultsRequest.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
74 inline const Aws::String& GetNamespace() const{ return m_namespace; }
75
95 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
96
116 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
117
137 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
138
158 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
159
179 inline ClusterServiceConnectDefaultsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
180
200 inline ClusterServiceConnectDefaultsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
201
221 inline ClusterServiceConnectDefaultsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
222
223 private:
224
225 Aws::String m_namespace;
226 bool m_namespaceHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace ECS
231} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ClusterServiceConnectDefaultsRequest & WithNamespace(const Aws::String &value)
ClusterServiceConnectDefaultsRequest & WithNamespace(const char *value)
ClusterServiceConnectDefaultsRequest & WithNamespace(Aws::String &&value)
AWS_ECS_API ClusterServiceConnectDefaultsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ClusterServiceConnectDefaultsRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String