AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetProtectionStatusResult.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/SecurityServiceType.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 FMS
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FMS_API GetProtectionStatusResult() = default;
34
35
37
40 inline const Aws::String& GetAdminAccountId() const { return m_adminAccountId; }
41 template<typename AdminAccountIdT = Aws::String>
42 void SetAdminAccountId(AdminAccountIdT&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::forward<AdminAccountIdT>(value); }
43 template<typename AdminAccountIdT = Aws::String>
44 GetProtectionStatusResult& WithAdminAccountId(AdminAccountIdT&& value) { SetAdminAccountId(std::forward<AdminAccountIdT>(value)); return *this;}
46
48
52 inline SecurityServiceType GetServiceType() const { return m_serviceType; }
53 inline void SetServiceType(SecurityServiceType value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
56
58
65 inline const Aws::String& GetData() const { return m_data; }
66 template<typename DataT = Aws::String>
67 void SetData(DataT&& value) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
68 template<typename DataT = Aws::String>
69 GetProtectionStatusResult& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
71
73
85 inline const Aws::String& GetNextToken() const { return m_nextToken; }
86 template<typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
88 template<typename NextTokenT = Aws::String>
89 GetProtectionStatusResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 GetProtectionStatusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_adminAccountId;
103 bool m_adminAccountIdHasBeenSet = false;
104
106 bool m_serviceTypeHasBeenSet = false;
107
108 Aws::String m_data;
109 bool m_dataHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113
114 Aws::String m_requestId;
115 bool m_requestIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace FMS
120} // namespace Aws
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