AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSourceResult.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 CreateDataSourceResult();
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 CreateDataSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateDataSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateDataSourceResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
55 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
56 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
57 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
58 inline CreateDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
59 inline CreateDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
60 inline CreateDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
62
64
67 inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
68 inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
69 inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
70 inline CreateDataSourceResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
71 inline CreateDataSourceResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CreateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CreateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CreateDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84
86
89 inline int GetStatus() const{ return m_status; }
90 inline void SetStatus(int value) { m_status = value; }
91 inline CreateDataSourceResult& WithStatus(int value) { SetStatus(value); return *this;}
93 private:
94
95 Aws::String m_arn;
96
97 Aws::String m_dataSourceId;
98
99 ResourceStatus m_creationStatus;
100
101 Aws::String m_requestId;
102
103 int m_status;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // namespace Aws
CreateDataSourceResult & WithStatus(int value)
AWS_QUICKSIGHT_API CreateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceResult & WithArn(const Aws::String &value)
CreateDataSourceResult & WithArn(Aws::String &&value)
CreateDataSourceResult & WithDataSourceId(Aws::String &&value)
CreateDataSourceResult & WithArn(const char *value)
CreateDataSourceResult & WithRequestId(const Aws::String &value)
AWS_QUICKSIGHT_API CreateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceResult & WithRequestId(const char *value)
CreateDataSourceResult & WithDataSourceId(const char *value)
void SetCreationStatus(const ResourceStatus &value)
CreateDataSourceResult & WithCreationStatus(const ResourceStatus &value)
CreateDataSourceResult & WithCreationStatus(ResourceStatus &&value)
CreateDataSourceResult & WithRequestId(Aws::String &&value)
CreateDataSourceResult & WithDataSourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue