AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KubernetesRoleDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API KubernetesRoleDetails();
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetKind() const{ return m_kind; }
47 inline bool KindHasBeenSet() const { return m_kindHasBeenSet; }
48 inline void SetKind(const Aws::String& value) { m_kindHasBeenSet = true; m_kind = value; }
49 inline void SetKind(Aws::String&& value) { m_kindHasBeenSet = true; m_kind = std::move(value); }
50 inline void SetKind(const char* value) { m_kindHasBeenSet = true; m_kind.assign(value); }
51 inline KubernetesRoleDetails& WithKind(const Aws::String& value) { SetKind(value); return *this;}
52 inline KubernetesRoleDetails& WithKind(Aws::String&& value) { SetKind(std::move(value)); return *this;}
53 inline KubernetesRoleDetails& WithKind(const char* value) { SetKind(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline KubernetesRoleDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline KubernetesRoleDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline KubernetesRoleDetails& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetUid() const{ return m_uid; }
75 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
76 inline void SetUid(const Aws::String& value) { m_uidHasBeenSet = true; m_uid = value; }
77 inline void SetUid(Aws::String&& value) { m_uidHasBeenSet = true; m_uid = std::move(value); }
78 inline void SetUid(const char* value) { m_uidHasBeenSet = true; m_uid.assign(value); }
79 inline KubernetesRoleDetails& WithUid(const Aws::String& value) { SetUid(value); return *this;}
80 inline KubernetesRoleDetails& WithUid(Aws::String&& value) { SetUid(std::move(value)); return *this;}
81 inline KubernetesRoleDetails& WithUid(const char* value) { SetUid(value); return *this;}
83 private:
84
85 Aws::String m_kind;
86 bool m_kindHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 Aws::String m_uid;
92 bool m_uidHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GuardDuty
97} // namespace Aws
KubernetesRoleDetails & WithUid(const char *value)
KubernetesRoleDetails & WithName(Aws::String &&value)
KubernetesRoleDetails & WithUid(Aws::String &&value)
AWS_GUARDDUTY_API KubernetesRoleDetails(Aws::Utils::Json::JsonView jsonValue)
KubernetesRoleDetails & WithName(const char *value)
AWS_GUARDDUTY_API KubernetesRoleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KubernetesRoleDetails & WithKind(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
KubernetesRoleDetails & WithKind(const Aws::String &value)
KubernetesRoleDetails & WithName(const Aws::String &value)
KubernetesRoleDetails & WithKind(Aws::String &&value)
KubernetesRoleDetails & WithUid(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue