AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkspaceResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTTWINMAKER_API GetWorkspaceResult();
35
36
38
41 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
42 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
43 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
44 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
45 inline GetWorkspaceResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
46 inline GetWorkspaceResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
47 inline GetWorkspaceResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline GetWorkspaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline GetWorkspaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline GetWorkspaceResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline GetWorkspaceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline GetWorkspaceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline GetWorkspaceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::Vector<Aws::String>& GetLinkedServices() const{ return m_linkedServices; }
81 inline void SetLinkedServices(const Aws::Vector<Aws::String>& value) { m_linkedServices = value; }
82 inline void SetLinkedServices(Aws::Vector<Aws::String>&& value) { m_linkedServices = std::move(value); }
84 inline GetWorkspaceResult& WithLinkedServices(Aws::Vector<Aws::String>&& value) { SetLinkedServices(std::move(value)); return *this;}
85 inline GetWorkspaceResult& AddLinkedServices(const Aws::String& value) { m_linkedServices.push_back(value); return *this; }
86 inline GetWorkspaceResult& AddLinkedServices(Aws::String&& value) { m_linkedServices.push_back(std::move(value)); return *this; }
87 inline GetWorkspaceResult& AddLinkedServices(const char* value) { m_linkedServices.push_back(value); return *this; }
89
91
95 inline const Aws::String& GetS3Location() const{ return m_s3Location; }
96 inline void SetS3Location(const Aws::String& value) { m_s3Location = value; }
97 inline void SetS3Location(Aws::String&& value) { m_s3Location = std::move(value); }
98 inline void SetS3Location(const char* value) { m_s3Location.assign(value); }
99 inline GetWorkspaceResult& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;}
100 inline GetWorkspaceResult& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;}
101 inline GetWorkspaceResult& WithS3Location(const char* value) { SetS3Location(value); return *this;}
103
105
108 inline const Aws::String& GetRole() const{ return m_role; }
109 inline void SetRole(const Aws::String& value) { m_role = value; }
110 inline void SetRole(Aws::String&& value) { m_role = std::move(value); }
111 inline void SetRole(const char* value) { m_role.assign(value); }
112 inline GetWorkspaceResult& WithRole(const Aws::String& value) { SetRole(value); return *this;}
113 inline GetWorkspaceResult& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
114 inline GetWorkspaceResult& WithRole(const char* value) { SetRole(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
122 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
123 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
125 inline GetWorkspaceResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
133 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
134 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
136 inline GetWorkspaceResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline GetWorkspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline GetWorkspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline GetWorkspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
151 Aws::String m_workspaceId;
152
153 Aws::String m_arn;
154
155 Aws::String m_description;
156
157 Aws::Vector<Aws::String> m_linkedServices;
158
159 Aws::String m_s3Location;
160
161 Aws::String m_role;
162
163 Aws::Utils::DateTime m_creationDateTime;
164
165 Aws::Utils::DateTime m_updateDateTime;
166
167 Aws::String m_requestId;
168 };
169
170} // namespace Model
171} // namespace IoTTwinMaker
172} // namespace Aws
GetWorkspaceResult & WithDescription(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
GetWorkspaceResult & WithRequestId(const Aws::String &value)
GetWorkspaceResult & AddLinkedServices(const char *value)
GetWorkspaceResult & WithLinkedServices(Aws::Vector< Aws::String > &&value)
GetWorkspaceResult & WithWorkspaceId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
GetWorkspaceResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
GetWorkspaceResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
AWS_IOTTWINMAKER_API GetWorkspaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkspaceResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetLinkedServices(const Aws::Vector< Aws::String > &value)
GetWorkspaceResult & WithS3Location(const char *value)
GetWorkspaceResult & WithRequestId(const char *value)
GetWorkspaceResult & WithArn(Aws::String &&value)
GetWorkspaceResult & WithS3Location(Aws::String &&value)
void SetDescription(const Aws::String &value)
GetWorkspaceResult & WithLinkedServices(const Aws::Vector< Aws::String > &value)
GetWorkspaceResult & WithRole(Aws::String &&value)
void SetWorkspaceId(const Aws::String &value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
GetWorkspaceResult & WithRole(const Aws::String &value)
GetWorkspaceResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetS3Location(const Aws::String &value)
AWS_IOTTWINMAKER_API GetWorkspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLinkedServices(Aws::Vector< Aws::String > &&value)
GetWorkspaceResult & WithS3Location(const Aws::String &value)
GetWorkspaceResult & WithArn(const Aws::String &value)
GetWorkspaceResult & WithRole(const char *value)
GetWorkspaceResult & AddLinkedServices(Aws::String &&value)
GetWorkspaceResult & WithDescription(const Aws::String &value)
GetWorkspaceResult & WithRequestId(Aws::String &&value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
GetWorkspaceResult & WithDescription(const char *value)
GetWorkspaceResult & WithWorkspaceId(const Aws::String &value)
GetWorkspaceResult & AddLinkedServices(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLinkedServices() const
GetWorkspaceResult & WithWorkspaceId(const char *value)
GetWorkspaceResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue