AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkspaceApiKeyResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ManagedGrafana
24{
25namespace Model
26{
28 {
29 public:
30 AWS_MANAGEDGRAFANA_API CreateWorkspaceApiKeyResult();
33
34
36
40 inline const Aws::String& GetKey() const{ return m_key; }
41 inline void SetKey(const Aws::String& value) { m_key = value; }
42 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
43 inline void SetKey(const char* value) { m_key.assign(value); }
44 inline CreateWorkspaceApiKeyResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
45 inline CreateWorkspaceApiKeyResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
46 inline CreateWorkspaceApiKeyResult& WithKey(const char* value) { SetKey(value); return *this;}
48
50
53 inline const Aws::String& GetKeyName() const{ return m_keyName; }
54 inline void SetKeyName(const Aws::String& value) { m_keyName = value; }
55 inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); }
56 inline void SetKeyName(const char* value) { m_keyName.assign(value); }
57 inline CreateWorkspaceApiKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
58 inline CreateWorkspaceApiKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
59 inline CreateWorkspaceApiKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;}
61
63
66 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
67 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
68 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
69 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
70 inline CreateWorkspaceApiKeyResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
71 inline CreateWorkspaceApiKeyResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
72 inline CreateWorkspaceApiKeyResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline CreateWorkspaceApiKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline CreateWorkspaceApiKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline CreateWorkspaceApiKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_key;
88
89 Aws::String m_keyName;
90
91 Aws::String m_workspaceId;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace ManagedGrafana
98} // namespace Aws
AWS_MANAGEDGRAFANA_API CreateWorkspaceApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDGRAFANA_API CreateWorkspaceApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspaceApiKeyResult & WithRequestId(const Aws::String &value)
CreateWorkspaceApiKeyResult & WithKey(const char *value)
CreateWorkspaceApiKeyResult & WithRequestId(const char *value)
CreateWorkspaceApiKeyResult & WithKeyName(const char *value)
CreateWorkspaceApiKeyResult & WithKey(const Aws::String &value)
CreateWorkspaceApiKeyResult & WithKeyName(Aws::String &&value)
CreateWorkspaceApiKeyResult & WithKeyName(const Aws::String &value)
CreateWorkspaceApiKeyResult & WithKey(Aws::String &&value)
CreateWorkspaceApiKeyResult & WithWorkspaceId(Aws::String &&value)
CreateWorkspaceApiKeyResult & WithWorkspaceId(const Aws::String &value)
CreateWorkspaceApiKeyResult & WithWorkspaceId(const char *value)
CreateWorkspaceApiKeyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue