AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTemplateResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ResourceStatus.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 QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API CreateTemplateResult();
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 CreateTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
55 inline void SetVersionArn(const Aws::String& value) { m_versionArn = value; }
56 inline void SetVersionArn(Aws::String&& value) { m_versionArn = std::move(value); }
57 inline void SetVersionArn(const char* value) { m_versionArn.assign(value); }
58 inline CreateTemplateResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
59 inline CreateTemplateResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
60 inline CreateTemplateResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
62
64
67 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
68 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
69 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
70 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
71 inline CreateTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
72 inline CreateTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
73 inline CreateTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
75
77
80 inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
81 inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
82 inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
83 inline CreateTemplateResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
84 inline CreateTemplateResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
86
88
91 inline int GetStatus() const{ return m_status; }
92 inline void SetStatus(int value) { m_status = value; }
93 inline CreateTemplateResult& WithStatus(int value) { SetStatus(value); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline CreateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline CreateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline CreateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_arn;
109
110 Aws::String m_versionArn;
111
112 Aws::String m_templateId;
113
114 ResourceStatus m_creationStatus;
115
116 int m_status;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
CreateTemplateResult & WithRequestId(const char *value)
CreateTemplateResult & WithArn(const char *value)
CreateTemplateResult & WithRequestId(const Aws::String &value)
CreateTemplateResult & WithCreationStatus(const ResourceStatus &value)
void SetCreationStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API CreateTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTemplateResult & WithArn(const Aws::String &value)
CreateTemplateResult & WithVersionArn(const char *value)
CreateTemplateResult & WithVersionArn(Aws::String &&value)
CreateTemplateResult & WithVersionArn(const Aws::String &value)
const ResourceStatus & GetCreationStatus() const
CreateTemplateResult & WithTemplateId(const char *value)
CreateTemplateResult & WithRequestId(Aws::String &&value)
CreateTemplateResult & WithTemplateId(const Aws::String &value)
CreateTemplateResult & WithStatus(int value)
CreateTemplateResult & WithCreationStatus(ResourceStatus &&value)
CreateTemplateResult & WithTemplateId(Aws::String &&value)
AWS_QUICKSIGHT_API CreateTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTemplateResult & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue