AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceAccountTokenSummaryWithKey.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_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 ManagedGrafana
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey();
41 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ServiceAccountTokenSummaryWithKey& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ServiceAccountTokenSummaryWithKey& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ServiceAccountTokenSummaryWithKey& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const Aws::String& GetKey() const{ return m_key; }
64 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
65 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
66 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
67 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
68 inline ServiceAccountTokenSummaryWithKey& WithKey(const Aws::String& value) { SetKey(value); return *this;}
69 inline ServiceAccountTokenSummaryWithKey& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
70 inline ServiceAccountTokenSummaryWithKey& WithKey(const char* value) { SetKey(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline ServiceAccountTokenSummaryWithKey& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline ServiceAccountTokenSummaryWithKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline ServiceAccountTokenSummaryWithKey& WithName(const char* value) { SetName(value); return *this;}
86 private:
87
88 Aws::String m_id;
89 bool m_idHasBeenSet = false;
90
91 Aws::String m_key;
92 bool m_keyHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ManagedGrafana
100} // namespace Aws
ServiceAccountTokenSummaryWithKey & WithId(Aws::String &&value)
ServiceAccountTokenSummaryWithKey & WithId(const char *value)
ServiceAccountTokenSummaryWithKey & WithName(const Aws::String &value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceAccountTokenSummaryWithKey & WithName(Aws::String &&value)
ServiceAccountTokenSummaryWithKey & WithKey(Aws::String &&value)
ServiceAccountTokenSummaryWithKey & WithName(const char *value)
ServiceAccountTokenSummaryWithKey & WithId(const Aws::String &value)
ServiceAccountTokenSummaryWithKey & WithKey(const char *value)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceAccountTokenSummaryWithKey & WithKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue