AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteWorkspaceApiKeyResult.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 DeleteWorkspaceApiKeyResult();
33
34
36
39 inline const Aws::String& GetKeyName() const{ return m_keyName; }
40 inline void SetKeyName(const Aws::String& value) { m_keyName = value; }
41 inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); }
42 inline void SetKeyName(const char* value) { m_keyName.assign(value); }
43 inline DeleteWorkspaceApiKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
44 inline DeleteWorkspaceApiKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
45 inline DeleteWorkspaceApiKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;}
47
49
52 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
53 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
54 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
55 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
56 inline DeleteWorkspaceApiKeyResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
57 inline DeleteWorkspaceApiKeyResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
58 inline DeleteWorkspaceApiKeyResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DeleteWorkspaceApiKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DeleteWorkspaceApiKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DeleteWorkspaceApiKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_keyName;
74
75 Aws::String m_workspaceId;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace ManagedGrafana
82} // namespace Aws
DeleteWorkspaceApiKeyResult & WithRequestId(const char *value)
DeleteWorkspaceApiKeyResult & WithRequestId(Aws::String &&value)
DeleteWorkspaceApiKeyResult & WithKeyName(const char *value)
DeleteWorkspaceApiKeyResult & WithWorkspaceId(const Aws::String &value)
AWS_MANAGEDGRAFANA_API DeleteWorkspaceApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteWorkspaceApiKeyResult & WithWorkspaceId(Aws::String &&value)
DeleteWorkspaceApiKeyResult & WithRequestId(const Aws::String &value)
DeleteWorkspaceApiKeyResult & WithKeyName(const Aws::String &value)
DeleteWorkspaceApiKeyResult & WithKeyName(Aws::String &&value)
AWS_MANAGEDGRAFANA_API DeleteWorkspaceApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteWorkspaceApiKeyResult & WithWorkspaceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue