AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSensitiveDataOccurrencesAvailabilityResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/AvailabilityCode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/model/UnavailabilityReasonCode.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
45 inline const AvailabilityCode& GetCode() const{ return m_code; }
46 inline void SetCode(const AvailabilityCode& value) { m_code = value; }
47 inline void SetCode(AvailabilityCode&& value) { m_code = std::move(value); }
49 inline GetSensitiveDataOccurrencesAvailabilityResult& WithCode(AvailabilityCode&& value) { SetCode(std::move(value)); return *this;}
51
53
96 inline const Aws::Vector<UnavailabilityReasonCode>& GetReasons() const{ return m_reasons; }
97 inline void SetReasons(const Aws::Vector<UnavailabilityReasonCode>& value) { m_reasons = value; }
98 inline void SetReasons(Aws::Vector<UnavailabilityReasonCode>&& value) { m_reasons = std::move(value); }
101 inline GetSensitiveDataOccurrencesAvailabilityResult& AddReasons(const UnavailabilityReasonCode& value) { m_reasons.push_back(value); return *this; }
102 inline GetSensitiveDataOccurrencesAvailabilityResult& AddReasons(UnavailabilityReasonCode&& value) { m_reasons.push_back(std::move(value)); return *this; }
104
106
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
109 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
110 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline GetSensitiveDataOccurrencesAvailabilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
113 inline GetSensitiveDataOccurrencesAvailabilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
115 private:
116
117 AvailabilityCode m_code;
118
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace Macie2
126} // namespace Aws
GetSensitiveDataOccurrencesAvailabilityResult & AddReasons(const UnavailabilityReasonCode &value)
AWS_MACIE2_API GetSensitiveDataOccurrencesAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSensitiveDataOccurrencesAvailabilityResult & WithReasons(Aws::Vector< UnavailabilityReasonCode > &&value)
GetSensitiveDataOccurrencesAvailabilityResult & WithRequestId(Aws::String &&value)
GetSensitiveDataOccurrencesAvailabilityResult & WithCode(AvailabilityCode &&value)
GetSensitiveDataOccurrencesAvailabilityResult & WithRequestId(const Aws::String &value)
GetSensitiveDataOccurrencesAvailabilityResult & WithRequestId(const char *value)
GetSensitiveDataOccurrencesAvailabilityResult & WithReasons(const Aws::Vector< UnavailabilityReasonCode > &value)
GetSensitiveDataOccurrencesAvailabilityResult & WithCode(const AvailabilityCode &value)
GetSensitiveDataOccurrencesAvailabilityResult & AddReasons(UnavailabilityReasonCode &&value)
AWS_MACIE2_API GetSensitiveDataOccurrencesAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue