AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeAccountSettingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 {
29  {
30  public:
34 
35 
47  inline const AccountSettings& GetAccountSettings() const{ return m_accountSettings; }
48 
60  inline void SetAccountSettings(const AccountSettings& value) { m_accountSettings = value; }
61 
73  inline void SetAccountSettings(AccountSettings&& value) { m_accountSettings = std::move(value); }
74 
86  inline DescribeAccountSettingsResult& WithAccountSettings(const AccountSettings& value) { SetAccountSettings(value); return *this;}
87 
99  inline DescribeAccountSettingsResult& WithAccountSettings(AccountSettings&& value) { SetAccountSettings(std::move(value)); return *this;}
100 
101 
105  inline const Aws::String& GetRequestId() const{ return m_requestId; }
106 
110  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 
115  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 
120  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 
125  inline DescribeAccountSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 
130  inline DescribeAccountSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 
135  inline DescribeAccountSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 
137 
141  inline int GetStatus() const{ return m_status; }
142 
146  inline void SetStatus(int value) { m_status = value; }
147 
151  inline DescribeAccountSettingsResult& WithStatus(int value) { SetStatus(value); return *this;}
152 
153  private:
154 
155  AccountSettings m_accountSettings;
156 
157  Aws::String m_requestId;
158 
159  int m_status;
160  };
161 
162 } // namespace Model
163 } // namespace QuickSight
164 } // namespace Aws
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithStatus
DescribeAccountSettingsResult & WithStatus(int value)
Definition: DescribeAccountSettingsResult.h:151
Aws::QuickSight::Model::DescribeAccountSettingsResult::GetStatus
int GetStatus() const
Definition: DescribeAccountSettingsResult.h:141
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeAccountSettingsResult
Definition: DescribeAccountSettingsResult.h:29
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithAccountSettings
DescribeAccountSettingsResult & WithAccountSettings(AccountSettings &&value)
Definition: DescribeAccountSettingsResult.h:99
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithRequestId
DescribeAccountSettingsResult & WithRequestId(const char *value)
Definition: DescribeAccountSettingsResult.h:135
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithRequestId
DescribeAccountSettingsResult & WithRequestId(Aws::String &&value)
Definition: DescribeAccountSettingsResult.h:130
AccountSettings.h
Aws::QuickSight::Model::DescribeAccountSettingsResult::SetAccountSettings
void SetAccountSettings(const AccountSettings &value)
Definition: DescribeAccountSettingsResult.h:60
Aws::QuickSight::Model::DescribeAccountSettingsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeAccountSettingsResult.h:110
Aws::QuickSight::Model::DescribeAccountSettingsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeAccountSettingsResult.h:115
Aws::QuickSight::Model::DescribeAccountSettingsResult::SetStatus
void SetStatus(int value)
Definition: DescribeAccountSettingsResult.h:146
Aws::QuickSight::Model::DescribeAccountSettingsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeAccountSettingsResult.h:120
Aws::QuickSight::Model::DescribeAccountSettingsResult::GetAccountSettings
const AccountSettings & GetAccountSettings() const
Definition: DescribeAccountSettingsResult.h:47
AWSString.h
Aws::QuickSight::Model::AccountSettings
Definition: AccountSettings.h:34
Aws::QuickSight::Model::DescribeAccountSettingsResult::operator=
DescribeAccountSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::DescribeAccountSettingsResult::SetAccountSettings
void SetAccountSettings(AccountSettings &&value)
Definition: DescribeAccountSettingsResult.h:73
Aws::QuickSight::Model::DescribeAccountSettingsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeAccountSettingsResult.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeAccountSettingsResult::DescribeAccountSettingsResult
DescribeAccountSettingsResult()
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithRequestId
DescribeAccountSettingsResult & WithRequestId(const Aws::String &value)
Definition: DescribeAccountSettingsResult.h:125
Aws::QuickSight::Model::DescribeAccountSettingsResult::WithAccountSettings
DescribeAccountSettingsResult & WithAccountSettings(const AccountSettings &value)
Definition: DescribeAccountSettingsResult.h:86
Aws::QuickSight::Model::DescribeAccountSettingsResult::DescribeAccountSettingsResult
DescribeAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)