AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
54 inline GetGeneratedPolicyRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline GetGeneratedPolicyRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline GetGeneratedPolicyRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
68 inline bool GetIncludeResourcePlaceholders() const{ return m_includeResourcePlaceholders; }
69 inline bool IncludeResourcePlaceholdersHasBeenSet() const { return m_includeResourcePlaceholdersHasBeenSet; }
70 inline void SetIncludeResourcePlaceholders(bool value) { m_includeResourcePlaceholdersHasBeenSet = true; m_includeResourcePlaceholders = value; }
73
75
81 inline bool GetIncludeServiceLevelTemplate() const{ return m_includeServiceLevelTemplate; }
82 inline bool IncludeServiceLevelTemplateHasBeenSet() const { return m_includeServiceLevelTemplateHasBeenSet; }
83 inline void SetIncludeServiceLevelTemplate(bool value) { m_includeServiceLevelTemplateHasBeenSet = true; m_includeServiceLevelTemplate = value; }
86 private:
87
88 Aws::String m_jobId;
89 bool m_jobIdHasBeenSet = false;
90
91 bool m_includeResourcePlaceholders;
92 bool m_includeResourcePlaceholdersHasBeenSet = false;
93
94 bool m_includeServiceLevelTemplate;
95 bool m_includeServiceLevelTemplateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace AccessAnalyzer
100} // namespace Aws
GetGeneratedPolicyRequest & WithIncludeServiceLevelTemplate(bool value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
GetGeneratedPolicyRequest & WithIncludeResourcePlaceholders(bool value)
GetGeneratedPolicyRequest & WithJobId(const Aws::String &value)
GetGeneratedPolicyRequest & WithJobId(Aws::String &&value)
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetGeneratedPolicyRequest & WithJobId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String