AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSourcePermissionsResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
40 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
41 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
42 inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
44 inline UpdateDataSourcePermissionsResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
45 inline UpdateDataSourcePermissionsResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
47
49
53 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
54 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
55 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
56 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
58 inline UpdateDataSourcePermissionsResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
59 inline UpdateDataSourcePermissionsResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline UpdateDataSourcePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline UpdateDataSourcePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline UpdateDataSourcePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72
74
77 inline int GetStatus() const{ return m_status; }
78 inline void SetStatus(int value) { m_status = value; }
79 inline UpdateDataSourcePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
81 private:
82
83 Aws::String m_dataSourceArn;
84
85 Aws::String m_dataSourceId;
86
87 Aws::String m_requestId;
88
89 int m_status;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
UpdateDataSourcePermissionsResult & WithDataSourceArn(const char *value)
UpdateDataSourcePermissionsResult & WithRequestId(const Aws::String &value)
UpdateDataSourcePermissionsResult & WithDataSourceId(const Aws::String &value)
UpdateDataSourcePermissionsResult & WithDataSourceId(const char *value)
UpdateDataSourcePermissionsResult & WithDataSourceId(Aws::String &&value)
AWS_QUICKSIGHT_API UpdateDataSourcePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API UpdateDataSourcePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDataSourcePermissionsResult & WithDataSourceArn(const Aws::String &value)
UpdateDataSourcePermissionsResult & WithRequestId(Aws::String &&value)
UpdateDataSourcePermissionsResult & WithRequestId(const char *value)
UpdateDataSourcePermissionsResult & WithDataSourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue