AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 ServiceAccountTokenSummaryWithKey& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetKey() const { return m_key; }
62 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
63 template<typename KeyT = Aws::String>
64 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
65 template<typename KeyT = Aws::String>
66 ServiceAccountTokenSummaryWithKey& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 ServiceAccountTokenSummaryWithKey& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80 private:
81
82 Aws::String m_id;
83 bool m_idHasBeenSet = false;
84
85 Aws::String m_key;
86 bool m_keyHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ManagedGrafana
94} // namespace Aws
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API ServiceAccountTokenSummaryWithKey()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue