AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkspaceServiceAccountResult.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/Role.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ManagedGrafana
25{
26namespace Model
27{
29 {
30 public:
31 AWS_MANAGEDGRAFANA_API CreateWorkspaceServiceAccountResult();
34
35
37
40 inline const Role& GetGrafanaRole() const{ return m_grafanaRole; }
41 inline void SetGrafanaRole(const Role& value) { m_grafanaRole = value; }
42 inline void SetGrafanaRole(Role&& value) { m_grafanaRole = std::move(value); }
43 inline CreateWorkspaceServiceAccountResult& WithGrafanaRole(const Role& value) { SetGrafanaRole(value); return *this;}
44 inline CreateWorkspaceServiceAccountResult& WithGrafanaRole(Role&& value) { SetGrafanaRole(std::move(value)); return *this;}
46
48
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline void SetId(const Aws::String& value) { m_id = value; }
53 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
54 inline void SetId(const char* value) { m_id.assign(value); }
55 inline CreateWorkspaceServiceAccountResult& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline CreateWorkspaceServiceAccountResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline CreateWorkspaceServiceAccountResult& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline void SetName(const Aws::String& value) { m_name = value; }
66 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
67 inline void SetName(const char* value) { m_name.assign(value); }
68 inline CreateWorkspaceServiceAccountResult& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline CreateWorkspaceServiceAccountResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline CreateWorkspaceServiceAccountResult& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
78 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
79 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
80 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
82 inline CreateWorkspaceServiceAccountResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
83 inline CreateWorkspaceServiceAccountResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline CreateWorkspaceServiceAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline CreateWorkspaceServiceAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline CreateWorkspaceServiceAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Role m_grafanaRole;
99
100 Aws::String m_id;
101
102 Aws::String m_name;
103
104 Aws::String m_workspaceId;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace ManagedGrafana
111} // namespace Aws
CreateWorkspaceServiceAccountResult & WithName(const Aws::String &value)
AWS_MANAGEDGRAFANA_API CreateWorkspaceServiceAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspaceServiceAccountResult & WithWorkspaceId(const Aws::String &value)
CreateWorkspaceServiceAccountResult & WithId(Aws::String &&value)
CreateWorkspaceServiceAccountResult & WithRequestId(Aws::String &&value)
CreateWorkspaceServiceAccountResult & WithWorkspaceId(const char *value)
AWS_MANAGEDGRAFANA_API CreateWorkspaceServiceAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspaceServiceAccountResult & WithRequestId(const Aws::String &value)
CreateWorkspaceServiceAccountResult & WithId(const Aws::String &value)
CreateWorkspaceServiceAccountResult & WithWorkspaceId(Aws::String &&value)
CreateWorkspaceServiceAccountResult & WithName(const char *value)
CreateWorkspaceServiceAccountResult & WithGrafanaRole(const Role &value)
CreateWorkspaceServiceAccountResult & WithName(Aws::String &&value)
CreateWorkspaceServiceAccountResult & WithRequestId(const char *value)
CreateWorkspaceServiceAccountResult & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue