AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetProtectionStatusResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fms/FMS_EXPORTS.h>
9#include <aws/fms/model/SecurityServiceType.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 FMS {
23namespace Model {
25 public:
26 AWS_FMS_API GetProtectionStatusResult() = default;
29
31
34 inline const Aws::String& GetAdminAccountId() const { return m_adminAccountId; }
35 template <typename AdminAccountIdT = Aws::String>
36 void SetAdminAccountId(AdminAccountIdT&& value) {
37 m_adminAccountIdHasBeenSet = true;
38 m_adminAccountId = std::forward<AdminAccountIdT>(value);
39 }
40 template <typename AdminAccountIdT = Aws::String>
42 SetAdminAccountId(std::forward<AdminAccountIdT>(value));
43 return *this;
44 }
46
48
52 inline SecurityServiceType GetServiceType() const { return m_serviceType; }
54 m_serviceTypeHasBeenSet = true;
55 m_serviceType = value;
56 }
58 SetServiceType(value);
59 return *this;
60 }
62
64
71 inline const Aws::String& GetData() const { return m_data; }
72 template <typename DataT = Aws::String>
73 void SetData(DataT&& value) {
74 m_dataHasBeenSet = true;
75 m_data = std::forward<DataT>(value);
76 }
77 template <typename DataT = Aws::String>
79 SetData(std::forward<DataT>(value));
80 return *this;
81 }
83
85
97 inline const Aws::String& GetNextToken() const { return m_nextToken; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template <typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) {
115 m_requestIdHasBeenSet = true;
116 m_requestId = std::forward<RequestIdT>(value);
117 }
118 template <typename RequestIdT = Aws::String>
120 SetRequestId(std::forward<RequestIdT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_adminAccountId;
126
128
129 Aws::String m_data;
130
131 Aws::String m_nextToken;
132
133 Aws::String m_requestId;
134 bool m_adminAccountIdHasBeenSet = false;
135 bool m_serviceTypeHasBeenSet = false;
136 bool m_dataHasBeenSet = false;
137 bool m_nextTokenHasBeenSet = false;
138 bool m_requestIdHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace FMS
143} // 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