AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetGeneratedPolicyRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AccessAnalyzer
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_ACCESSANALYZER_API GetGeneratedPolicyRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetGeneratedPolicy"; }
35
36 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
37
38 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
49 inline const Aws::String& GetJobId() const { return m_jobId; }
50 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 template<typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
53 template<typename JobIdT = Aws::String>
54 GetGeneratedPolicyRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
56
58
66 inline bool GetIncludeResourcePlaceholders() const { return m_includeResourcePlaceholders; }
67 inline bool IncludeResourcePlaceholdersHasBeenSet() const { return m_includeResourcePlaceholdersHasBeenSet; }
68 inline void SetIncludeResourcePlaceholders(bool value) { m_includeResourcePlaceholdersHasBeenSet = true; m_includeResourcePlaceholders = value; }
71
73
79 inline bool GetIncludeServiceLevelTemplate() const { return m_includeServiceLevelTemplate; }
80 inline bool IncludeServiceLevelTemplateHasBeenSet() const { return m_includeServiceLevelTemplateHasBeenSet; }
81 inline void SetIncludeServiceLevelTemplate(bool value) { m_includeServiceLevelTemplateHasBeenSet = true; m_includeServiceLevelTemplate = value; }
84 private:
85
86 Aws::String m_jobId;
87 bool m_jobIdHasBeenSet = false;
88
89 bool m_includeResourcePlaceholders{false};
90 bool m_includeResourcePlaceholdersHasBeenSet = false;
91
92 bool m_includeServiceLevelTemplate{false};
93 bool m_includeServiceLevelTemplateHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace AccessAnalyzer
98} // 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