1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
28   class AWS_QUICKSIGHT_API CreateDashboardResult
29   {
30   public:
31     CreateDashboardResult();
32     CreateDashboardResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     CreateDashboardResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * <p>The ARN of the dashboard.</p>
38      */
GetArn()39     inline const Aws::String& GetArn() const{ return m_arn; }
40 
41     /**
42      * <p>The ARN of the dashboard.</p>
43      */
SetArn(const Aws::String & value)44     inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
46     /**
47      * <p>The ARN of the dashboard.</p>
48      */
SetArn(Aws::String && value)49     inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
51     /**
52      * <p>The ARN of the dashboard.</p>
53      */
SetArn(const char * value)54     inline void SetArn(const char* value) { m_arn.assign(value); }
55 
56     /**
57      * <p>The ARN of the dashboard.</p>
58      */
WithArn(const Aws::String & value)59     inline CreateDashboardResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
61     /**
62      * <p>The ARN of the dashboard.</p>
63      */
WithArn(Aws::String && value)64     inline CreateDashboardResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
66     /**
67      * <p>The ARN of the dashboard.</p>
68      */
WithArn(const char * value)69     inline CreateDashboardResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
72     /**
73      * <p>The ARN of the dashboard, including the version number of the first version
74      * that is created.</p>
75      */
GetVersionArn()76     inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
77 
78     /**
79      * <p>The ARN of the dashboard, including the version number of the first version
80      * that is created.</p>
81      */
SetVersionArn(const Aws::String & value)82     inline void SetVersionArn(const Aws::String& value) { m_versionArn = value; }
83 
84     /**
85      * <p>The ARN of the dashboard, including the version number of the first version
86      * that is created.</p>
87      */
SetVersionArn(Aws::String && value)88     inline void SetVersionArn(Aws::String&& value) { m_versionArn = std::move(value); }
89 
90     /**
91      * <p>The ARN of the dashboard, including the version number of the first version
92      * that is created.</p>
93      */
SetVersionArn(const char * value)94     inline void SetVersionArn(const char* value) { m_versionArn.assign(value); }
95 
96     /**
97      * <p>The ARN of the dashboard, including the version number of the first version
98      * that is created.</p>
99      */
WithVersionArn(const Aws::String & value)100     inline CreateDashboardResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
101 
102     /**
103      * <p>The ARN of the dashboard, including the version number of the first version
104      * that is created.</p>
105      */
WithVersionArn(Aws::String && value)106     inline CreateDashboardResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
107 
108     /**
109      * <p>The ARN of the dashboard, including the version number of the first version
110      * that is created.</p>
111      */
WithVersionArn(const char * value)112     inline CreateDashboardResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
113 
114 
115     /**
116      * <p>The ID for the dashboard.</p>
117      */
GetDashboardId()118     inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
119 
120     /**
121      * <p>The ID for the dashboard.</p>
122      */
SetDashboardId(const Aws::String & value)123     inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
124 
125     /**
126      * <p>The ID for the dashboard.</p>
127      */
SetDashboardId(Aws::String && value)128     inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
129 
130     /**
131      * <p>The ID for the dashboard.</p>
132      */
SetDashboardId(const char * value)133     inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
134 
135     /**
136      * <p>The ID for the dashboard.</p>
137      */
WithDashboardId(const Aws::String & value)138     inline CreateDashboardResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
139 
140     /**
141      * <p>The ID for the dashboard.</p>
142      */
WithDashboardId(Aws::String && value)143     inline CreateDashboardResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
144 
145     /**
146      * <p>The ID for the dashboard.</p>
147      */
WithDashboardId(const char * value)148     inline CreateDashboardResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
149 
150 
151     /**
152      * <p>The status of the dashboard creation request.</p>
153      */
GetCreationStatus()154     inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
155 
156     /**
157      * <p>The status of the dashboard creation request.</p>
158      */
SetCreationStatus(const ResourceStatus & value)159     inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
160 
161     /**
162      * <p>The status of the dashboard creation request.</p>
163      */
SetCreationStatus(ResourceStatus && value)164     inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
165 
166     /**
167      * <p>The status of the dashboard creation request.</p>
168      */
WithCreationStatus(const ResourceStatus & value)169     inline CreateDashboardResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
170 
171     /**
172      * <p>The status of the dashboard creation request.</p>
173      */
WithCreationStatus(ResourceStatus && value)174     inline CreateDashboardResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
175 
176 
177     /**
178      * <p>The HTTP status of the request.</p>
179      */
GetStatus()180     inline int GetStatus() const{ return m_status; }
181 
182     /**
183      * <p>The HTTP status of the request.</p>
184      */
SetStatus(int value)185     inline void SetStatus(int value) { m_status = value; }
186 
187     /**
188      * <p>The HTTP status of the request.</p>
189      */
WithStatus(int value)190     inline CreateDashboardResult& WithStatus(int value) { SetStatus(value); return *this;}
191 
192 
193     /**
194      * <p>The Amazon Web Services request ID for this operation.</p>
195      */
GetRequestId()196     inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 
198     /**
199      * <p>The Amazon Web Services request ID for this operation.</p>
200      */
SetRequestId(const Aws::String & value)201     inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
202 
203     /**
204      * <p>The Amazon Web Services request ID for this operation.</p>
205      */
SetRequestId(Aws::String && value)206     inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
207 
208     /**
209      * <p>The Amazon Web Services request ID for this operation.</p>
210      */
SetRequestId(const char * value)211     inline void SetRequestId(const char* value) { m_requestId.assign(value); }
212 
213     /**
214      * <p>The Amazon Web Services request ID for this operation.</p>
215      */
WithRequestId(const Aws::String & value)216     inline CreateDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
217 
218     /**
219      * <p>The Amazon Web Services request ID for this operation.</p>
220      */
WithRequestId(Aws::String && value)221     inline CreateDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
222 
223     /**
224      * <p>The Amazon Web Services request ID for this operation.</p>
225      */
WithRequestId(const char * value)226     inline CreateDashboardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
227 
228   private:
229 
230     Aws::String m_arn;
231 
232     Aws::String m_versionArn;
233 
234     Aws::String m_dashboardId;
235 
236     ResourceStatus m_creationStatus;
237 
238     int m_status;
239 
240     Aws::String m_requestId;
241   };
242 
243 } // namespace Model
244 } // namespace QuickSight
245 } // namespace Aws
246