AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateDataSourcePermissionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
39 
43  inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
44 
48  inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
49 
53  inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
54 
58  inline UpdateDataSourcePermissionsResult& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
59 
63  inline UpdateDataSourcePermissionsResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
64 
68  inline UpdateDataSourcePermissionsResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
69 
70 
75  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
76 
81  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
82 
87  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
88 
93  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
94 
99  inline UpdateDataSourcePermissionsResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
100 
105  inline UpdateDataSourcePermissionsResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
106 
111  inline UpdateDataSourcePermissionsResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
112 
113 
117  inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 
122  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 
127  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 
132  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 
137  inline UpdateDataSourcePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
138 
142  inline UpdateDataSourcePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
143 
147  inline UpdateDataSourcePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 
149 
153  inline int GetStatus() const{ return m_status; }
154 
158  inline void SetStatus(int value) { m_status = value; }
159 
163  inline UpdateDataSourcePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
164 
165  private:
166 
167  Aws::String m_dataSourceArn;
168 
169  Aws::String m_dataSourceId;
170 
171  Aws::String m_requestId;
172 
173  int m_status;
174  };
175 
176 } // namespace Model
177 } // namespace QuickSight
178 } // namespace Aws
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:93
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateDataSourcePermissionsResult.h:117
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithRequestId
UpdateDataSourcePermissionsResult & WithRequestId(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:137
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithStatus
UpdateDataSourcePermissionsResult & WithStatus(int value)
Definition: UpdateDataSourcePermissionsResult.h:163
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetStatus
void SetStatus(int value)
Definition: UpdateDataSourcePermissionsResult.h:158
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:122
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult
Definition: UpdateDataSourcePermissionsResult.h:28
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithRequestId
UpdateDataSourcePermissionsResult & WithRequestId(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:147
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:81
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::GetDataSourceArn
const Aws::String & GetDataSourceArn() const
Definition: UpdateDataSourcePermissionsResult.h:38
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceArn
UpdateDataSourcePermissionsResult & WithDataSourceArn(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:68
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:48
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithRequestId
UpdateDataSourcePermissionsResult & WithRequestId(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:142
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:53
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: UpdateDataSourcePermissionsResult.h:75
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::GetStatus
int GetStatus() const
Definition: UpdateDataSourcePermissionsResult.h:153
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::UpdateDataSourcePermissionsResult
UpdateDataSourcePermissionsResult()
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::operator=
UpdateDataSourcePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceId
UpdateDataSourcePermissionsResult & WithDataSourceId(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:99
AWSString.h
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:132
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:127
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:43
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceId
UpdateDataSourcePermissionsResult & WithDataSourceId(const char *value)
Definition: UpdateDataSourcePermissionsResult.h:111
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:87
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceArn
UpdateDataSourcePermissionsResult & WithDataSourceArn(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::UpdateDataSourcePermissionsResult
UpdateDataSourcePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceArn
UpdateDataSourcePermissionsResult & WithDataSourceArn(const Aws::String &value)
Definition: UpdateDataSourcePermissionsResult.h:58
Aws::QuickSight::Model::UpdateDataSourcePermissionsResult::WithDataSourceId
UpdateDataSourcePermissionsResult & WithDataSourceId(Aws::String &&value)
Definition: UpdateDataSourcePermissionsResult.h:105