AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
31 AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult() = default;
34
35
37
45 inline const AccountInfo& GetAccountInfo() const { return m_accountInfo; }
46 template<typename AccountInfoT = AccountInfo>
47 void SetAccountInfo(AccountInfoT&& value) { m_accountInfoHasBeenSet = true; m_accountInfo = std::forward<AccountInfoT>(value); }
48 template<typename AccountInfoT = AccountInfo>
49 DescribeAccountSubscriptionResult& WithAccountInfo(AccountInfoT&& value) { SetAccountInfo(std::forward<AccountInfoT>(value)); return *this;}
51
53
56 inline int GetStatus() const { return m_status; }
57 inline void SetStatus(int value) { m_statusHasBeenSet = true; 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 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 DescribeAccountSubscriptionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 AccountInfo m_accountInfo;
72 bool m_accountInfoHasBeenSet = false;
73
74 int m_status{0};
75 bool m_statusHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QuickSight
83} // namespace Aws
AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult()=default
DescribeAccountSubscriptionResult & WithAccountInfo(AccountInfoT &&value)
AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountSubscriptionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue