AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAccountSubscriptionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AccountInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.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:
34
35
37
45 inline const AccountInfo& GetAccountInfo() const{ return m_accountInfo; }
46 inline void SetAccountInfo(const AccountInfo& value) { m_accountInfo = value; }
47 inline void SetAccountInfo(AccountInfo&& value) { m_accountInfo = std::move(value); }
48 inline DescribeAccountSubscriptionResult& WithAccountInfo(const AccountInfo& value) { SetAccountInfo(value); return *this;}
49 inline DescribeAccountSubscriptionResult& WithAccountInfo(AccountInfo&& value) { SetAccountInfo(std::move(value)); return *this;}
51
53
56 inline int GetStatus() const{ return m_status; }
57 inline void SetStatus(int value) { m_status = value; }
58 inline DescribeAccountSubscriptionResult& WithStatus(int value) { SetStatus(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DescribeAccountSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DescribeAccountSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DescribeAccountSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 AccountInfo m_accountInfo;
74
75 int m_status;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountSubscriptionResult & WithRequestId(const Aws::String &value)
DescribeAccountSubscriptionResult & WithAccountInfo(AccountInfo &&value)
DescribeAccountSubscriptionResult & WithAccountInfo(const AccountInfo &value)
AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountSubscriptionResult & WithRequestId(Aws::String &&value)
DescribeAccountSubscriptionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue