AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAssessmentTemplateArn(const Aws::String& value) { m_assessmentTemplateArnHasBeenSet = true; m_assessmentTemplateArn = value; }
46 inline void SetAssessmentTemplateArn(Aws::String&& value) { m_assessmentTemplateArnHasBeenSet = true; m_assessmentTemplateArn = std::move(value); }
47 inline void SetAssessmentTemplateArn(const char* value) { m_assessmentTemplateArnHasBeenSet = true; m_assessmentTemplateArn.assign(value); }
50 inline GetExclusionsPreviewRequest& WithAssessmentTemplateArn(const char* value) { SetAssessmentTemplateArn(value); return *this;}
52
54
57 inline const Aws::String& GetPreviewToken() const{ return m_previewToken; }
58 inline bool PreviewTokenHasBeenSet() const { return m_previewTokenHasBeenSet; }
59 inline void SetPreviewToken(const Aws::String& value) { m_previewTokenHasBeenSet = true; m_previewToken = value; }
60 inline void SetPreviewToken(Aws::String&& value) { m_previewTokenHasBeenSet = true; m_previewToken = std::move(value); }
61 inline void SetPreviewToken(const char* value) { m_previewTokenHasBeenSet = true; m_previewToken.assign(value); }
62 inline GetExclusionsPreviewRequest& WithPreviewToken(const Aws::String& value) { SetPreviewToken(value); return *this;}
63 inline GetExclusionsPreviewRequest& WithPreviewToken(Aws::String&& value) { SetPreviewToken(std::move(value)); return *this;}
64 inline GetExclusionsPreviewRequest& WithPreviewToken(const char* value) { SetPreviewToken(value); return *this;}
66
68
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline GetExclusionsPreviewRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline GetExclusionsPreviewRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline GetExclusionsPreviewRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline GetExclusionsPreviewRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
100 inline const Locale& GetLocale() const{ return m_locale; }
101 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
102 inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
103 inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
104 inline GetExclusionsPreviewRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
105 inline GetExclusionsPreviewRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_assessmentTemplateArn;
110 bool m_assessmentTemplateArnHasBeenSet = false;
111
112 Aws::String m_previewToken;
113 bool m_previewTokenHasBeenSet = false;
114
115 Aws::String m_nextToken;
116 bool m_nextTokenHasBeenSet = false;
117
118 int m_maxResults;
119 bool m_maxResultsHasBeenSet = false;
120
121 Locale m_locale;
122 bool m_localeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Inspector
127} // namespace Aws
GetExclusionsPreviewRequest & WithAssessmentTemplateArn(const Aws::String &value)
GetExclusionsPreviewRequest & WithMaxResults(int value)
GetExclusionsPreviewRequest & WithAssessmentTemplateArn(Aws::String &&value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
GetExclusionsPreviewRequest & WithPreviewToken(Aws::String &&value)
GetExclusionsPreviewRequest & WithLocale(Locale &&value)
GetExclusionsPreviewRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetExclusionsPreviewRequest & WithNextToken(const Aws::String &value)
GetExclusionsPreviewRequest & WithAssessmentTemplateArn(const char *value)
GetExclusionsPreviewRequest & WithPreviewToken(const char *value)
GetExclusionsPreviewRequest & WithLocale(const Locale &value)
GetExclusionsPreviewRequest & WithNextToken(const char *value)
GetExclusionsPreviewRequest & WithPreviewToken(const Aws::String &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