AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecureNamespaceInfo.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_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 EMRContainers
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EMRCONTAINERS_API SecureNamespaceInfo();
35 AWS_EMRCONTAINERS_API SecureNamespaceInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_EMRCONTAINERS_API SecureNamespaceInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
45 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
46 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
47 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
48 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
49 inline SecureNamespaceInfo& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
50 inline SecureNamespaceInfo& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
51 inline SecureNamespaceInfo& WithClusterId(const char* value) { SetClusterId(value); return *this;}
53
55
58 inline const Aws::String& GetNamespace() const{ return m_namespace; }
59 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
60 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
61 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
62 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
63 inline SecureNamespaceInfo& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
64 inline SecureNamespaceInfo& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
65 inline SecureNamespaceInfo& WithNamespace(const char* value) { SetNamespace(value); return *this;}
67 private:
68
69 Aws::String m_clusterId;
70 bool m_clusterIdHasBeenSet = false;
71
72 Aws::String m_namespace;
73 bool m_namespaceHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace EMRContainers
78} // namespace Aws
SecureNamespaceInfo & WithNamespace(const char *value)
SecureNamespaceInfo & WithNamespace(Aws::String &&value)
AWS_EMRCONTAINERS_API SecureNamespaceInfo(Aws::Utils::Json::JsonView jsonValue)
SecureNamespaceInfo & WithClusterId(const char *value)
SecureNamespaceInfo & WithNamespace(const Aws::String &value)
SecureNamespaceInfo & WithClusterId(const Aws::String &value)
SecureNamespaceInfo & WithClusterId(Aws::String &&value)
AWS_EMRCONTAINERS_API SecureNamespaceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue