7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
23namespace ManagedGrafana
41 template<
typename KeyT = Aws::String>
42 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
43 template<
typename KeyT = Aws::String>
52 template<
typename KeyNameT = Aws::String>
53 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
54 template<
typename KeyNameT = Aws::String>
63 template<
typename WorkspaceIdT = Aws::String>
64 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
65 template<
typename WorkspaceIdT = Aws::String>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_keyHasBeenSet =
false;
83 bool m_keyNameHasBeenSet =
false;
86 bool m_workspaceIdHasBeenSet =
false;
89 bool m_requestIdHasBeenSet =
false;
CreateWorkspaceApiKeyResult & WithKeyName(KeyNameT &&value)
AWS_MANAGEDGRAFANA_API CreateWorkspaceApiKeyResult()=default
const Aws::String & GetRequestId() const
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 & WithWorkspaceId(WorkspaceIdT &&value)
void SetWorkspaceId(WorkspaceIdT &&value)
const Aws::String & GetKey() const
void SetRequestId(RequestIdT &&value)
CreateWorkspaceApiKeyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetWorkspaceId() const
CreateWorkspaceApiKeyResult & WithKey(KeyT &&value)
const Aws::String & GetKeyName() const
void SetKeyName(KeyNameT &&value)
void SetKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue