AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccountSubscriptionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SignupResponse.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 CreateAccountSubscriptionResult();
34
35
37
41 inline const SignupResponse& GetSignupResponse() const{ return m_signupResponse; }
42 inline void SetSignupResponse(const SignupResponse& value) { m_signupResponse = value; }
43 inline void SetSignupResponse(SignupResponse&& value) { m_signupResponse = std::move(value); }
45 inline CreateAccountSubscriptionResult& WithSignupResponse(SignupResponse&& value) { SetSignupResponse(std::move(value)); return *this;}
47
49
52 inline int GetStatus() const{ return m_status; }
53 inline void SetStatus(int value) { m_status = value; }
54 inline CreateAccountSubscriptionResult& WithStatus(int value) { SetStatus(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline CreateAccountSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline CreateAccountSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline CreateAccountSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 SignupResponse m_signupResponse;
70
71 int m_status;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
CreateAccountSubscriptionResult & WithRequestId(const char *value)
AWS_QUICKSIGHT_API CreateAccountSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccountSubscriptionResult & WithSignupResponse(SignupResponse &&value)
CreateAccountSubscriptionResult & WithRequestId(Aws::String &&value)
CreateAccountSubscriptionResult & WithRequestId(const Aws::String &value)
CreateAccountSubscriptionResult & WithSignupResponse(const SignupResponse &value)
AWS_QUICKSIGHT_API CreateAccountSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue