AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetProtectionStatusResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/SecurityServiceType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace FMS {
24namespace Model {
26 public:
27 AWS_FMS_API GetProtectionStatusResult() = default;
30
32
35 inline const Aws::String& GetAdminAccountId() const { return m_adminAccountId; }
36 template <typename AdminAccountIdT = Aws::String>
37 void SetAdminAccountId(AdminAccountIdT&& value) {
38 m_adminAccountIdHasBeenSet = true;
39 m_adminAccountId = std::forward<AdminAccountIdT>(value);
40 }
41 template <typename AdminAccountIdT = Aws::String>
43 SetAdminAccountId(std::forward<AdminAccountIdT>(value));
44 return *this;
45 }
47
49
53 inline SecurityServiceType GetServiceType() const { return m_serviceType; }
55 m_serviceTypeHasBeenSet = true;
56 m_serviceType = value;
57 }
59 SetServiceType(value);
60 return *this;
61 }
63
65
72 inline const Aws::String& GetData() const { return m_data; }
73 template <typename DataT = Aws::String>
74 void SetData(DataT&& value) {
75 m_dataHasBeenSet = true;
76 m_data = std::forward<DataT>(value);
77 }
78 template <typename DataT = Aws::String>
80 SetData(std::forward<DataT>(value));
81 return *this;
82 }
84
86
98 inline const Aws::String& GetNextToken() const { return m_nextToken; }
99 template <typename NextTokenT = Aws::String>
100 void SetNextToken(NextTokenT&& value) {
101 m_nextTokenHasBeenSet = true;
102 m_nextToken = std::forward<NextTokenT>(value);
103 }
104 template <typename NextTokenT = Aws::String>
106 SetNextToken(std::forward<NextTokenT>(value));
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
126
127 private:
128 Aws::String m_adminAccountId;
129
131
132 Aws::String m_data;
133
134 Aws::String m_nextToken;
135
136 Aws::String m_requestId;
137 Aws::Http::HttpResponseCode m_HttpResponseCode;
138 bool m_adminAccountIdHasBeenSet = false;
139 bool m_serviceTypeHasBeenSet = false;
140 bool m_dataHasBeenSet = false;
141 bool m_nextTokenHasBeenSet = false;
142 bool m_requestIdHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace FMS
147} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_FMS_API GetProtectionStatusResult()=default
GetProtectionStatusResult & WithData(DataT &&value)
GetProtectionStatusResult & WithAdminAccountId(AdminAccountIdT &&value)
AWS_FMS_API GetProtectionStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FMS_API GetProtectionStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProtectionStatusResult & WithRequestId(RequestIdT &&value)
GetProtectionStatusResult & WithServiceType(SecurityServiceType value)
GetProtectionStatusResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue