AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateIpRestrictionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API UpdateIpRestrictionResult() = default;
29
31
34 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
35 template <typename AwsAccountIdT = Aws::String>
36 void SetAwsAccountId(AwsAccountIdT&& value) {
37 m_awsAccountIdHasBeenSet = true;
38 m_awsAccountId = std::forward<AwsAccountIdT>(value);
39 }
40 template <typename AwsAccountIdT = Aws::String>
42 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
43 return *this;
44 }
46
48
49 inline const Aws::String& GetRequestId() const { return m_requestId; }
50 template <typename RequestIdT = Aws::String>
51 void SetRequestId(RequestIdT&& value) {
52 m_requestIdHasBeenSet = true;
53 m_requestId = std::forward<RequestIdT>(value);
54 }
55 template <typename RequestIdT = Aws::String>
57 SetRequestId(std::forward<RequestIdT>(value));
58 return *this;
59 }
61
63
66 inline int GetStatus() const { return m_status; }
67 inline void SetStatus(int value) {
68 m_statusHasBeenSet = true;
69 m_status = value;
70 }
72 SetStatus(value);
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
79 Aws::String m_awsAccountId;
80
81 Aws::String m_requestId;
82
83 int m_status{0};
84 Aws::Http::HttpResponseCode m_HttpResponseCode;
85 bool m_awsAccountIdHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87 bool m_statusHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace QuickSight
92} // namespace Aws
AWS_QUICKSIGHT_API UpdateIpRestrictionResult()=default
AWS_QUICKSIGHT_API UpdateIpRestrictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIpRestrictionResult & WithAwsAccountId(AwsAccountIdT &&value)
UpdateIpRestrictionResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API UpdateIpRestrictionResult(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