AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExclusionsPreviewResult.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/model/PreviewStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/inspector/model/ExclusionPreview.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 Inspector
27{
28namespace Model
29{
31 {
32 public:
33 AWS_INSPECTOR_API GetExclusionsPreviewResult();
36
37
39
42 inline const PreviewStatus& GetPreviewStatus() const{ return m_previewStatus; }
43 inline void SetPreviewStatus(const PreviewStatus& value) { m_previewStatus = value; }
44 inline void SetPreviewStatus(PreviewStatus&& value) { m_previewStatus = std::move(value); }
45 inline GetExclusionsPreviewResult& WithPreviewStatus(const PreviewStatus& value) { SetPreviewStatus(value); return *this;}
46 inline GetExclusionsPreviewResult& WithPreviewStatus(PreviewStatus&& value) { SetPreviewStatus(std::move(value)); return *this;}
48
50
53 inline const Aws::Vector<ExclusionPreview>& GetExclusionPreviews() const{ return m_exclusionPreviews; }
54 inline void SetExclusionPreviews(const Aws::Vector<ExclusionPreview>& value) { m_exclusionPreviews = value; }
55 inline void SetExclusionPreviews(Aws::Vector<ExclusionPreview>&& value) { m_exclusionPreviews = std::move(value); }
58 inline GetExclusionsPreviewResult& AddExclusionPreviews(const ExclusionPreview& value) { m_exclusionPreviews.push_back(value); return *this; }
59 inline GetExclusionsPreviewResult& AddExclusionPreviews(ExclusionPreview&& value) { m_exclusionPreviews.push_back(std::move(value)); return *this; }
61
63
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
73 inline GetExclusionsPreviewResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline GetExclusionsPreviewResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline GetExclusionsPreviewResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetExclusionsPreviewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetExclusionsPreviewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetExclusionsPreviewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 PreviewStatus m_previewStatus;
91
92 Aws::Vector<ExclusionPreview> m_exclusionPreviews;
93
94 Aws::String m_nextToken;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace Inspector
101} // namespace Aws
AWS_INSPECTOR_API GetExclusionsPreviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExclusionsPreviewResult & WithRequestId(const char *value)
GetExclusionsPreviewResult & WithExclusionPreviews(const Aws::Vector< ExclusionPreview > &value)
GetExclusionsPreviewResult & WithNextToken(const Aws::String &value)
GetExclusionsPreviewResult & AddExclusionPreviews(ExclusionPreview &&value)
const Aws::Vector< ExclusionPreview > & GetExclusionPreviews() const
GetExclusionsPreviewResult & WithRequestId(const Aws::String &value)
void SetExclusionPreviews(const Aws::Vector< ExclusionPreview > &value)
GetExclusionsPreviewResult & WithNextToken(const char *value)
void SetExclusionPreviews(Aws::Vector< ExclusionPreview > &&value)
AWS_INSPECTOR_API GetExclusionsPreviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExclusionsPreviewResult & AddExclusionPreviews(const ExclusionPreview &value)
GetExclusionsPreviewResult & WithNextToken(Aws::String &&value)
GetExclusionsPreviewResult & WithExclusionPreviews(Aws::Vector< ExclusionPreview > &&value)
GetExclusionsPreviewResult & WithPreviewStatus(PreviewStatus &&value)
GetExclusionsPreviewResult & WithRequestId(Aws::String &&value)
GetExclusionsPreviewResult & WithPreviewStatus(const PreviewStatus &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