AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTemplateDefinitionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourceStatus.h>
11#include <aws/quicksight/model/TemplateVersionDefinition.h>
12#include <aws/quicksight/model/TemplateError.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline void SetName(const Aws::String& value) { m_name = value; }
45 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
46 inline void SetName(const char* value) { m_name.assign(value); }
47 inline DescribeTemplateDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline DescribeTemplateDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline DescribeTemplateDefinitionResult& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
57 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
58 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
59 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
60 inline DescribeTemplateDefinitionResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
61 inline DescribeTemplateDefinitionResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
62 inline DescribeTemplateDefinitionResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
64
66
69 inline const Aws::Vector<TemplateError>& GetErrors() const{ return m_errors; }
70 inline void SetErrors(const Aws::Vector<TemplateError>& value) { m_errors = value; }
71 inline void SetErrors(Aws::Vector<TemplateError>&& value) { m_errors = std::move(value); }
73 inline DescribeTemplateDefinitionResult& WithErrors(Aws::Vector<TemplateError>&& value) { SetErrors(std::move(value)); return *this;}
74 inline DescribeTemplateDefinitionResult& AddErrors(const TemplateError& value) { m_errors.push_back(value); return *this; }
75 inline DescribeTemplateDefinitionResult& AddErrors(TemplateError&& value) { m_errors.push_back(std::move(value)); return *this; }
77
79
88 inline const ResourceStatus& GetResourceStatus() const{ return m_resourceStatus; }
89 inline void SetResourceStatus(const ResourceStatus& value) { m_resourceStatus = value; }
90 inline void SetResourceStatus(ResourceStatus&& value) { m_resourceStatus = std::move(value); }
92 inline DescribeTemplateDefinitionResult& WithResourceStatus(ResourceStatus&& value) { SetResourceStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
100 inline void SetThemeArn(const Aws::String& value) { m_themeArn = value; }
101 inline void SetThemeArn(Aws::String&& value) { m_themeArn = std::move(value); }
102 inline void SetThemeArn(const char* value) { m_themeArn.assign(value); }
103 inline DescribeTemplateDefinitionResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
104 inline DescribeTemplateDefinitionResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
105 inline DescribeTemplateDefinitionResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
107
109
113 inline const TemplateVersionDefinition& GetDefinition() const{ return m_definition; }
114 inline void SetDefinition(const TemplateVersionDefinition& value) { m_definition = value; }
115 inline void SetDefinition(TemplateVersionDefinition&& value) { m_definition = std::move(value); }
119
121
124 inline int GetStatus() const{ return m_status; }
125 inline void SetStatus(int value) { m_status = value; }
126 inline DescribeTemplateDefinitionResult& WithStatus(int value) { SetStatus(value); return *this;}
128
130
131 inline const Aws::String& GetRequestId() const{ return m_requestId; }
132 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
133 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
134 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
135 inline DescribeTemplateDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
136 inline DescribeTemplateDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
137 inline DescribeTemplateDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
139 private:
140
141 Aws::String m_name;
142
143 Aws::String m_templateId;
144
146
147 ResourceStatus m_resourceStatus;
148
149 Aws::String m_themeArn;
150
151 TemplateVersionDefinition m_definition;
152
153 int m_status;
154
155 Aws::String m_requestId;
156 };
157
158} // namespace Model
159} // namespace QuickSight
160} // namespace Aws
DescribeTemplateDefinitionResult & WithThemeArn(Aws::String &&value)
DescribeTemplateDefinitionResult & AddErrors(TemplateError &&value)
DescribeTemplateDefinitionResult & WithThemeArn(const char *value)
DescribeTemplateDefinitionResult & WithErrors(Aws::Vector< TemplateError > &&value)
DescribeTemplateDefinitionResult & WithTemplateId(Aws::String &&value)
AWS_QUICKSIGHT_API DescribeTemplateDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTemplateDefinitionResult & WithDefinition(TemplateVersionDefinition &&value)
DescribeTemplateDefinitionResult & WithRequestId(Aws::String &&value)
DescribeTemplateDefinitionResult & WithErrors(const Aws::Vector< TemplateError > &value)
AWS_QUICKSIGHT_API DescribeTemplateDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTemplateDefinitionResult & WithThemeArn(const Aws::String &value)
DescribeTemplateDefinitionResult & WithName(const Aws::String &value)
DescribeTemplateDefinitionResult & WithTemplateId(const Aws::String &value)
DescribeTemplateDefinitionResult & WithDefinition(const TemplateVersionDefinition &value)
DescribeTemplateDefinitionResult & AddErrors(const TemplateError &value)
DescribeTemplateDefinitionResult & WithRequestId(const char *value)
DescribeTemplateDefinitionResult & WithResourceStatus(ResourceStatus &&value)
DescribeTemplateDefinitionResult & WithRequestId(const Aws::String &value)
DescribeTemplateDefinitionResult & WithName(Aws::String &&value)
DescribeTemplateDefinitionResult & WithTemplateId(const char *value)
DescribeTemplateDefinitionResult & WithName(const char *value)
DescribeTemplateDefinitionResult & WithResourceStatus(const ResourceStatus &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