AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckNoNewAccessSdkResult.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/CheckNoNewAccessResult.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 CheckNoNewAccessSdkResult();
36
37
39
44 inline const CheckNoNewAccessResult& GetResult() const{ return m_result; }
45 inline void SetResult(const CheckNoNewAccessResult& value) { m_result = value; }
46 inline void SetResult(CheckNoNewAccessResult&& value) { m_result = std::move(value); }
47 inline CheckNoNewAccessSdkResult& WithResult(const CheckNoNewAccessResult& value) { SetResult(value); return *this;}
48 inline CheckNoNewAccessSdkResult& WithResult(CheckNoNewAccessResult&& value) { SetResult(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetMessage() const{ return m_message; }
56 inline void SetMessage(const Aws::String& value) { m_message = value; }
57 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
58 inline void SetMessage(const char* value) { m_message.assign(value); }
59 inline CheckNoNewAccessSdkResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
60 inline CheckNoNewAccessSdkResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 inline CheckNoNewAccessSdkResult& WithMessage(const char* value) { SetMessage(value); return *this;}
63
65
68 inline const Aws::Vector<ReasonSummary>& GetReasons() const{ return m_reasons; }
69 inline void SetReasons(const Aws::Vector<ReasonSummary>& value) { m_reasons = value; }
70 inline void SetReasons(Aws::Vector<ReasonSummary>&& value) { m_reasons = std::move(value); }
71 inline CheckNoNewAccessSdkResult& WithReasons(const Aws::Vector<ReasonSummary>& value) { SetReasons(value); return *this;}
72 inline CheckNoNewAccessSdkResult& WithReasons(Aws::Vector<ReasonSummary>&& value) { SetReasons(std::move(value)); return *this;}
73 inline CheckNoNewAccessSdkResult& AddReasons(const ReasonSummary& value) { m_reasons.push_back(value); return *this; }
74 inline CheckNoNewAccessSdkResult& AddReasons(ReasonSummary&& value) { m_reasons.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline CheckNoNewAccessSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline CheckNoNewAccessSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline CheckNoNewAccessSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
90
91 Aws::String m_message;
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace AccessAnalyzer
100} // namespace Aws
CheckNoNewAccessSdkResult & WithMessage(const char *value)
CheckNoNewAccessSdkResult & WithMessage(Aws::String &&value)
CheckNoNewAccessSdkResult & WithRequestId(const Aws::String &value)
void SetReasons(const Aws::Vector< ReasonSummary > &value)
CheckNoNewAccessSdkResult & WithRequestId(const char *value)
CheckNoNewAccessSdkResult & WithMessage(const Aws::String &value)
AWS_ACCESSANALYZER_API CheckNoNewAccessSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckNoNewAccessSdkResult & WithResult(CheckNoNewAccessResult &&value)
const Aws::Vector< ReasonSummary > & GetReasons() const
CheckNoNewAccessSdkResult & WithResult(const CheckNoNewAccessResult &value)
CheckNoNewAccessSdkResult & AddReasons(const ReasonSummary &value)
CheckNoNewAccessSdkResult & WithReasons(Aws::Vector< ReasonSummary > &&value)
CheckNoNewAccessSdkResult & WithReasons(const Aws::Vector< ReasonSummary > &value)
CheckNoNewAccessSdkResult & WithRequestId(Aws::String &&value)
AWS_ACCESSANALYZER_API CheckNoNewAccessSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckNoNewAccessSdkResult & AddReasons(ReasonSummary &&value)
void SetReasons(Aws::Vector< ReasonSummary > &&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