AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetGeneratedPolicyRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AccessAnalyzer {
18namespace Model {
19
23 public:
24 AWS_ACCESSANALYZER_API GetGeneratedPolicyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetGeneratedPolicy"; }
31
32 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
33
34 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
44 inline const Aws::String& GetJobId() const { return m_jobId; }
45 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
46 template <typename JobIdT = Aws::String>
47 void SetJobId(JobIdT&& value) {
48 m_jobIdHasBeenSet = true;
49 m_jobId = std::forward<JobIdT>(value);
50 }
51 template <typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
54 return *this;
55 }
57
59
67 inline bool GetIncludeResourcePlaceholders() const { return m_includeResourcePlaceholders; }
68 inline bool IncludeResourcePlaceholdersHasBeenSet() const { return m_includeResourcePlaceholdersHasBeenSet; }
69 inline void SetIncludeResourcePlaceholders(bool value) {
70 m_includeResourcePlaceholdersHasBeenSet = true;
71 m_includeResourcePlaceholders = value;
72 }
75 return *this;
76 }
78
80
86 inline bool GetIncludeServiceLevelTemplate() const { return m_includeServiceLevelTemplate; }
87 inline bool IncludeServiceLevelTemplateHasBeenSet() const { return m_includeServiceLevelTemplateHasBeenSet; }
88 inline void SetIncludeServiceLevelTemplate(bool value) {
89 m_includeServiceLevelTemplateHasBeenSet = true;
90 m_includeServiceLevelTemplate = value;
91 }
94 return *this;
95 }
97 private:
98 Aws::String m_jobId;
99
100 bool m_includeResourcePlaceholders{false};
101
102 bool m_includeServiceLevelTemplate{false};
103 bool m_jobIdHasBeenSet = false;
104 bool m_includeResourcePlaceholdersHasBeenSet = false;
105 bool m_includeServiceLevelTemplateHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace AccessAnalyzer
110} // namespace Aws
GetGeneratedPolicyRequest & WithIncludeServiceLevelTemplate(bool value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
GetGeneratedPolicyRequest & WithIncludeResourcePlaceholders(bool value)
GetGeneratedPolicyRequest & WithJobId(JobIdT &&value)
AWS_ACCESSANALYZER_API GetGeneratedPolicyRequest()=default
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String