AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkspaceResult.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/DateTime.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 IoTTwinMaker
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTTWINMAKER_API CreateWorkspaceResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline CreateWorkspaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateWorkspaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateWorkspaceResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
54 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
55 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
57 inline CreateWorkspaceResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline CreateWorkspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline CreateWorkspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline CreateWorkspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::String m_arn;
73
74 Aws::Utils::DateTime m_creationDateTime;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace IoTTwinMaker
81} // namespace Aws
AWS_IOTTWINMAKER_API CreateWorkspaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspaceResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateWorkspaceResult & WithArn(const Aws::String &value)
CreateWorkspaceResult & WithArn(const char *value)
CreateWorkspaceResult & WithRequestId(const Aws::String &value)
CreateWorkspaceResult & WithRequestId(Aws::String &&value)
CreateWorkspaceResult & WithArn(Aws::String &&value)
CreateWorkspaceResult & WithRequestId(const char *value)
CreateWorkspaceResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
AWS_IOTTWINMAKER_API CreateWorkspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue