AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSourceResult.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 UpdateDataSourceResult();
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 UpdateDataSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateDataSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateDataSourceResult& 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 UpdateDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
59 inline UpdateDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
60 inline UpdateDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
62
64
67 inline const ResourceStatus& GetUpdateStatus() const{ return m_updateStatus; }
68 inline void SetUpdateStatus(const ResourceStatus& value) { m_updateStatus = value; }
69 inline void SetUpdateStatus(ResourceStatus&& value) { m_updateStatus = std::move(value); }
70 inline UpdateDataSourceResult& WithUpdateStatus(const ResourceStatus& value) { SetUpdateStatus(value); return *this;}
71 inline UpdateDataSourceResult& WithUpdateStatus(ResourceStatus&& value) { SetUpdateStatus(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 UpdateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline UpdateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline UpdateDataSourceResult& 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 UpdateDataSourceResult& 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_updateStatus;
100
101 Aws::String m_requestId;
102
103 int m_status;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // namespace Aws
UpdateDataSourceResult & WithArn(const Aws::String &value)
UpdateDataSourceResult & WithStatus(int value)
UpdateDataSourceResult & WithDataSourceId(Aws::String &&value)
UpdateDataSourceResult & WithDataSourceId(const Aws::String &value)
UpdateDataSourceResult & WithDataSourceId(const char *value)
UpdateDataSourceResult & WithRequestId(const char *value)
UpdateDataSourceResult & WithUpdateStatus(ResourceStatus &&value)
UpdateDataSourceResult & WithRequestId(const Aws::String &value)
UpdateDataSourceResult & WithRequestId(Aws::String &&value)
void SetUpdateStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API UpdateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDataSourceResult & WithArn(Aws::String &&value)
UpdateDataSourceResult & WithUpdateStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API UpdateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDataSourceResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue