AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateIpRestrictionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
24 public:
25 AWS_QUICKSIGHT_API UpdateIpRestrictionResult() = default;
28
30
33 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
34 template <typename AwsAccountIdT = Aws::String>
35 void SetAwsAccountId(AwsAccountIdT&& value) {
36 m_awsAccountIdHasBeenSet = true;
37 m_awsAccountId = std::forward<AwsAccountIdT>(value);
38 }
39 template <typename AwsAccountIdT = Aws::String>
41 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
42 return *this;
43 }
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template <typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) {
51 m_requestIdHasBeenSet = true;
52 m_requestId = std::forward<RequestIdT>(value);
53 }
54 template <typename RequestIdT = Aws::String>
56 SetRequestId(std::forward<RequestIdT>(value));
57 return *this;
58 }
60
62
65 inline int GetStatus() const { return m_status; }
66 inline void SetStatus(int value) {
67 m_statusHasBeenSet = true;
68 m_status = value;
69 }
71 SetStatus(value);
72 return *this;
73 }
75 private:
76 Aws::String m_awsAccountId;
77
78 Aws::String m_requestId;
79
80 int m_status{0};
81 bool m_awsAccountIdHasBeenSet = false;
82 bool m_requestIdHasBeenSet = false;
83 bool m_statusHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace QuickSight
88} // 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