AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTemplateResult.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 UpdateTemplateResult();
34
35
37
40 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
41 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
42 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
43 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
44 inline UpdateTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
45 inline UpdateTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
46 inline UpdateTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline void SetArn(const Aws::String& value) { m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arn.assign(value); }
57 inline UpdateTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline UpdateTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline UpdateTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
61
63
67 inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
68 inline void SetVersionArn(const Aws::String& value) { m_versionArn = value; }
69 inline void SetVersionArn(Aws::String&& value) { m_versionArn = std::move(value); }
70 inline void SetVersionArn(const char* value) { m_versionArn.assign(value); }
71 inline UpdateTemplateResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
72 inline UpdateTemplateResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
73 inline UpdateTemplateResult& WithVersionArn(const char* value) { SetVersionArn(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 UpdateTemplateResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
84 inline UpdateTemplateResult& 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 UpdateTemplateResult& 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 UpdateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline UpdateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline UpdateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_templateId;
109
110 Aws::String m_arn;
111
112 Aws::String m_versionArn;
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
UpdateTemplateResult & WithArn(Aws::String &&value)
void SetCreationStatus(const ResourceStatus &value)
UpdateTemplateResult & WithCreationStatus(const ResourceStatus &value)
UpdateTemplateResult & WithRequestId(Aws::String &&value)
UpdateTemplateResult & WithArn(const Aws::String &value)
UpdateTemplateResult & WithStatus(int value)
UpdateTemplateResult & WithTemplateId(const Aws::String &value)
UpdateTemplateResult & WithTemplateId(const char *value)
UpdateTemplateResult & WithCreationStatus(ResourceStatus &&value)
AWS_QUICKSIGHT_API UpdateTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTemplateResult & WithVersionArn(Aws::String &&value)
UpdateTemplateResult & WithRequestId(const Aws::String &value)
UpdateTemplateResult & WithVersionArn(const Aws::String &value)
UpdateTemplateResult & WithVersionArn(const char *value)
AWS_QUICKSIGHT_API UpdateTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTemplateResult & WithTemplateId(Aws::String &&value)
UpdateTemplateResult & WithRequestId(const char *value)
UpdateTemplateResult & WithArn(const char *value)
const ResourceStatus & GetCreationStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue