AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
34
35
37
40 inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
41 inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountId = value; }
42 inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountId = std::move(value); }
43 inline void SetAdminAccountId(const char* value) { m_adminAccountId.assign(value); }
44 inline GetProtectionStatusResult& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;}
45 inline GetProtectionStatusResult& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;}
46 inline GetProtectionStatusResult& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
48
50
54 inline const SecurityServiceType& GetServiceType() const{ return m_serviceType; }
55 inline void SetServiceType(const SecurityServiceType& value) { m_serviceType = value; }
56 inline void SetServiceType(SecurityServiceType&& value) { m_serviceType = std::move(value); }
57 inline GetProtectionStatusResult& WithServiceType(const SecurityServiceType& value) { SetServiceType(value); return *this;}
58 inline GetProtectionStatusResult& WithServiceType(SecurityServiceType&& value) { SetServiceType(std::move(value)); return *this;}
60
62
69 inline const Aws::String& GetData() const{ return m_data; }
70 inline void SetData(const Aws::String& value) { m_data = value; }
71 inline void SetData(Aws::String&& value) { m_data = std::move(value); }
72 inline void SetData(const char* value) { m_data.assign(value); }
73 inline GetProtectionStatusResult& WithData(const Aws::String& value) { SetData(value); return *this;}
74 inline GetProtectionStatusResult& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
75 inline GetProtectionStatusResult& WithData(const char* value) { SetData(value); return *this;}
77
79
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
95 inline GetProtectionStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 inline GetProtectionStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
97 inline GetProtectionStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline GetProtectionStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline GetProtectionStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline GetProtectionStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_adminAccountId;
113
114 SecurityServiceType m_serviceType;
115
116 Aws::String m_data;
117
118 Aws::String m_nextToken;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace FMS
125} // namespace Aws
GetProtectionStatusResult & WithAdminAccountId(const char *value)
GetProtectionStatusResult & WithRequestId(Aws::String &&value)
GetProtectionStatusResult & WithData(const char *value)
void SetServiceType(const SecurityServiceType &value)
GetProtectionStatusResult & WithNextToken(const Aws::String &value)
AWS_FMS_API GetProtectionStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProtectionStatusResult & WithServiceType(SecurityServiceType &&value)
GetProtectionStatusResult & WithData(const Aws::String &value)
AWS_FMS_API GetProtectionStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProtectionStatusResult & WithAdminAccountId(Aws::String &&value)
const SecurityServiceType & GetServiceType() const
GetProtectionStatusResult & WithAdminAccountId(const Aws::String &value)
GetProtectionStatusResult & WithServiceType(const SecurityServiceType &value)
GetProtectionStatusResult & WithNextToken(const char *value)
GetProtectionStatusResult & WithRequestId(const Aws::String &value)
GetProtectionStatusResult & WithRequestId(const char *value)
GetProtectionStatusResult & WithData(Aws::String &&value)
GetProtectionStatusResult & WithNextToken(Aws::String &&value)
void SetServiceType(SecurityServiceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue