AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetExclusionsPreviewRequest.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/InspectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector/model/Locale.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR_API GetExclusionsPreviewRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetExclusionsPreview"; }
32
33 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetAssessmentTemplateArn() const { return m_assessmentTemplateArn; }
44 inline bool AssessmentTemplateArnHasBeenSet() const { return m_assessmentTemplateArnHasBeenSet; }
45 template<typename AssessmentTemplateArnT = Aws::String>
46 void SetAssessmentTemplateArn(AssessmentTemplateArnT&& value) { m_assessmentTemplateArnHasBeenSet = true; m_assessmentTemplateArn = std::forward<AssessmentTemplateArnT>(value); }
47 template<typename AssessmentTemplateArnT = Aws::String>
48 GetExclusionsPreviewRequest& WithAssessmentTemplateArn(AssessmentTemplateArnT&& value) { SetAssessmentTemplateArn(std::forward<AssessmentTemplateArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetPreviewToken() const { return m_previewToken; }
56 inline bool PreviewTokenHasBeenSet() const { return m_previewTokenHasBeenSet; }
57 template<typename PreviewTokenT = Aws::String>
58 void SetPreviewToken(PreviewTokenT&& value) { m_previewTokenHasBeenSet = true; m_previewToken = std::forward<PreviewTokenT>(value); }
59 template<typename PreviewTokenT = Aws::String>
60 GetExclusionsPreviewRequest& WithPreviewToken(PreviewTokenT&& value) { SetPreviewToken(std::forward<PreviewTokenT>(value)); return *this;}
62
64
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 GetExclusionsPreviewRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline GetExclusionsPreviewRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
94 inline Locale GetLocale() const { return m_locale; }
95 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
96 inline void SetLocale(Locale value) { m_localeHasBeenSet = true; m_locale = value; }
97 inline GetExclusionsPreviewRequest& WithLocale(Locale value) { SetLocale(value); return *this;}
99 private:
100
101 Aws::String m_assessmentTemplateArn;
102 bool m_assessmentTemplateArnHasBeenSet = false;
103
104 Aws::String m_previewToken;
105 bool m_previewTokenHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults{0};
111 bool m_maxResultsHasBeenSet = false;
112
113 Locale m_locale{Locale::NOT_SET};
114 bool m_localeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Inspector
119} // namespace Aws
GetExclusionsPreviewRequest & WithPreviewToken(PreviewTokenT &&value)
AWS_INSPECTOR_API GetExclusionsPreviewRequest()=default
GetExclusionsPreviewRequest & WithMaxResults(int value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
GetExclusionsPreviewRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
GetExclusionsPreviewRequest & WithLocale(Locale value)
void SetAssessmentTemplateArn(AssessmentTemplateArnT &&value)
GetExclusionsPreviewRequest & WithAssessmentTemplateArn(AssessmentTemplateArnT &&value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String