AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVPCConnectionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/VPCConnectionResourceStatus.h>
10#include <aws/quicksight/model/VPCConnectionAvailabilityStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API CreateVPCConnectionResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline CreateVPCConnectionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreateVPCConnectionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreateVPCConnectionResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
55 inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; }
56 inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionId = value; }
57 inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionId = std::move(value); }
58 inline void SetVPCConnectionId(const char* value) { m_vPCConnectionId.assign(value); }
59 inline CreateVPCConnectionResult& WithVPCConnectionId(const Aws::String& value) { SetVPCConnectionId(value); return *this;}
60 inline CreateVPCConnectionResult& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;}
61 inline CreateVPCConnectionResult& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;}
63
65
68 inline const VPCConnectionResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
69 inline void SetCreationStatus(const VPCConnectionResourceStatus& value) { m_creationStatus = value; }
70 inline void SetCreationStatus(VPCConnectionResourceStatus&& value) { m_creationStatus = std::move(value); }
74
76
79 inline const VPCConnectionAvailabilityStatus& GetAvailabilityStatus() const{ return m_availabilityStatus; }
80 inline void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus& value) { m_availabilityStatus = value; }
81 inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus&& value) { m_availabilityStatus = std::move(value); }
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline CreateVPCConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline CreateVPCConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline CreateVPCConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96
98
101 inline int GetStatus() const{ return m_status; }
102 inline void SetStatus(int value) { m_status = value; }
103 inline CreateVPCConnectionResult& WithStatus(int value) { SetStatus(value); return *this;}
105 private:
106
107 Aws::String m_arn;
108
109 Aws::String m_vPCConnectionId;
110
111 VPCConnectionResourceStatus m_creationStatus;
112
113 VPCConnectionAvailabilityStatus m_availabilityStatus;
114
115 Aws::String m_requestId;
116
117 int m_status;
118 };
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
CreateVPCConnectionResult & WithCreationStatus(VPCConnectionResourceStatus &&value)
CreateVPCConnectionResult & WithRequestId(Aws::String &&value)
CreateVPCConnectionResult & WithArn(Aws::String &&value)
AWS_QUICKSIGHT_API CreateVPCConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const VPCConnectionResourceStatus & GetCreationStatus() const
void SetCreationStatus(VPCConnectionResourceStatus &&value)
const VPCConnectionAvailabilityStatus & GetAvailabilityStatus() const
CreateVPCConnectionResult & WithVPCConnectionId(const Aws::String &value)
AWS_QUICKSIGHT_API CreateVPCConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVPCConnectionResult & WithArn(const char *value)
void SetAvailabilityStatus(VPCConnectionAvailabilityStatus &&value)
CreateVPCConnectionResult & WithVPCConnectionId(const char *value)
void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
CreateVPCConnectionResult & WithAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
CreateVPCConnectionResult & WithRequestId(const Aws::String &value)
CreateVPCConnectionResult & WithRequestId(const char *value)
CreateVPCConnectionResult & WithVPCConnectionId(Aws::String &&value)
void SetCreationStatus(const VPCConnectionResourceStatus &value)
CreateVPCConnectionResult & WithCreationStatus(const VPCConnectionResourceStatus &value)
CreateVPCConnectionResult & WithAvailabilityStatus(VPCConnectionAvailabilityStatus &&value)
CreateVPCConnectionResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue