AWS SDK for C++  1.9.109
AWS SDK for C++
GetGeneratedPolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AccessAnalyzer
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
49  inline bool GetIncludeResourcePlaceholders() const{ return m_includeResourcePlaceholders; }
50 
59  inline bool IncludeResourcePlaceholdersHasBeenSet() const { return m_includeResourcePlaceholdersHasBeenSet; }
60 
69  inline void SetIncludeResourcePlaceholders(bool value) { m_includeResourcePlaceholdersHasBeenSet = true; m_includeResourcePlaceholders = value; }
70 
79  inline GetGeneratedPolicyRequest& WithIncludeResourcePlaceholders(bool value) { SetIncludeResourcePlaceholders(value); return *this;}
80 
81 
88  inline bool GetIncludeServiceLevelTemplate() const{ return m_includeServiceLevelTemplate; }
89 
96  inline bool IncludeServiceLevelTemplateHasBeenSet() const { return m_includeServiceLevelTemplateHasBeenSet; }
97 
104  inline void SetIncludeServiceLevelTemplate(bool value) { m_includeServiceLevelTemplateHasBeenSet = true; m_includeServiceLevelTemplate = value; }
105 
112  inline GetGeneratedPolicyRequest& WithIncludeServiceLevelTemplate(bool value) { SetIncludeServiceLevelTemplate(value); return *this;}
113 
114 
122  inline const Aws::String& GetJobId() const{ return m_jobId; }
123 
131  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
132 
140  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
141 
149  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
150 
158  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
159 
167  inline GetGeneratedPolicyRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
168 
176  inline GetGeneratedPolicyRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
177 
185  inline GetGeneratedPolicyRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
186 
187  private:
188 
189  bool m_includeResourcePlaceholders;
190  bool m_includeResourcePlaceholdersHasBeenSet;
191 
192  bool m_includeServiceLevelTemplate;
193  bool m_includeServiceLevelTemplateHasBeenSet;
194 
195  Aws::String m_jobId;
196  bool m_jobIdHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace AccessAnalyzer
201 } // namespace Aws
AccessAnalyzer_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetGeneratedPolicyRequest.h:34
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest
Definition: GetGeneratedPolicyRequest.h:26
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::WithJobId
GetGeneratedPolicyRequest & WithJobId(const Aws::String &value)
Definition: GetGeneratedPolicyRequest.h:167
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::IncludeResourcePlaceholdersHasBeenSet
bool IncludeResourcePlaceholdersHasBeenSet() const
Definition: GetGeneratedPolicyRequest.h:59
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::WithIncludeServiceLevelTemplate
GetGeneratedPolicyRequest & WithIncludeServiceLevelTemplate(bool value)
Definition: GetGeneratedPolicyRequest.h:112
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::GetGeneratedPolicyRequest
GetGeneratedPolicyRequest()
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::IncludeServiceLevelTemplateHasBeenSet
bool IncludeServiceLevelTemplateHasBeenSet() const
Definition: GetGeneratedPolicyRequest.h:96
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::WithJobId
GetGeneratedPolicyRequest & WithJobId(const char *value)
Definition: GetGeneratedPolicyRequest.h:185
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SetIncludeServiceLevelTemplate
void SetIncludeServiceLevelTemplate(bool value)
Definition: GetGeneratedPolicyRequest.h:104
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::WithIncludeResourcePlaceholders
GetGeneratedPolicyRequest & WithIncludeResourcePlaceholders(bool value)
Definition: GetGeneratedPolicyRequest.h:79
AWSString.h
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SetJobId
void SetJobId(const char *value)
Definition: GetGeneratedPolicyRequest.h:158
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetGeneratedPolicyRequest.h:149
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetGeneratedPolicyRequest.h:122
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::GetIncludeResourcePlaceholders
bool GetIncludeResourcePlaceholders() const
Definition: GetGeneratedPolicyRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetGeneratedPolicyRequest.h:140
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::SetIncludeResourcePlaceholders
void SetIncludeResourcePlaceholders(bool value)
Definition: GetGeneratedPolicyRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetGeneratedPolicyRequest.h:131
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::GetIncludeServiceLevelTemplate
bool GetIncludeServiceLevelTemplate() const
Definition: GetGeneratedPolicyRequest.h:88
Aws::AccessAnalyzer::Model::GetGeneratedPolicyRequest::WithJobId
GetGeneratedPolicyRequest & WithJobId(Aws::String &&value)
Definition: GetGeneratedPolicyRequest.h:176