AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckNoPublicAccessSdkResult.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/CheckNoPublicAccessResult.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/accessanalyzer/model/ReasonSummary.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 AccessAnalyzer
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ACCESSANALYZER_API CheckNoPublicAccessSdkResult();
36
37
39
45 inline const CheckNoPublicAccessResult& GetResult() const{ return m_result; }
46 inline void SetResult(const CheckNoPublicAccessResult& value) { m_result = value; }
47 inline void SetResult(CheckNoPublicAccessResult&& value) { m_result = std::move(value); }
48 inline CheckNoPublicAccessSdkResult& WithResult(const CheckNoPublicAccessResult& value) { SetResult(value); return *this;}
49 inline CheckNoPublicAccessSdkResult& WithResult(CheckNoPublicAccessResult&& value) { SetResult(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline void SetMessage(const Aws::String& value) { m_message = value; }
59 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
60 inline void SetMessage(const char* value) { m_message.assign(value); }
61 inline CheckNoPublicAccessSdkResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
62 inline CheckNoPublicAccessSdkResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
63 inline CheckNoPublicAccessSdkResult& WithMessage(const char* value) { SetMessage(value); return *this;}
65
67
71 inline const Aws::Vector<ReasonSummary>& GetReasons() const{ return m_reasons; }
72 inline void SetReasons(const Aws::Vector<ReasonSummary>& value) { m_reasons = value; }
73 inline void SetReasons(Aws::Vector<ReasonSummary>&& value) { m_reasons = std::move(value); }
75 inline CheckNoPublicAccessSdkResult& WithReasons(Aws::Vector<ReasonSummary>&& value) { SetReasons(std::move(value)); return *this;}
76 inline CheckNoPublicAccessSdkResult& AddReasons(const ReasonSummary& value) { m_reasons.push_back(value); return *this; }
77 inline CheckNoPublicAccessSdkResult& AddReasons(ReasonSummary&& value) { m_reasons.push_back(std::move(value)); return *this; }
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline CheckNoPublicAccessSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline CheckNoPublicAccessSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline CheckNoPublicAccessSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
93
94 Aws::String m_message;
95
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace AccessAnalyzer
103} // namespace Aws
CheckNoPublicAccessSdkResult & WithMessage(const char *value)
CheckNoPublicAccessSdkResult & WithMessage(Aws::String &&value)
AWS_ACCESSANALYZER_API CheckNoPublicAccessSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckNoPublicAccessSdkResult & AddReasons(ReasonSummary &&value)
CheckNoPublicAccessSdkResult & WithRequestId(const char *value)
AWS_ACCESSANALYZER_API CheckNoPublicAccessSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckNoPublicAccessSdkResult & WithRequestId(Aws::String &&value)
void SetReasons(const Aws::Vector< ReasonSummary > &value)
CheckNoPublicAccessSdkResult & WithResult(CheckNoPublicAccessResult &&value)
CheckNoPublicAccessSdkResult & WithReasons(Aws::Vector< ReasonSummary > &&value)
CheckNoPublicAccessSdkResult & AddReasons(const ReasonSummary &value)
CheckNoPublicAccessSdkResult & WithReasons(const Aws::Vector< ReasonSummary > &value)
CheckNoPublicAccessSdkResult & WithResult(const CheckNoPublicAccessResult &value)
CheckNoPublicAccessSdkResult & WithMessage(const Aws::String &value)
CheckNoPublicAccessSdkResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue