AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartPolicyGenerationRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/accessanalyzer/model/PolicyGenerationDetails.h>
10#include <aws/accessanalyzer/model/CloudTrailDetails.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace AccessAnalyzer
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_ACCESSANALYZER_API StartPolicyGenerationRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartPolicyGeneration"; }
34
35 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
36
37
39
43 inline const PolicyGenerationDetails& GetPolicyGenerationDetails() const{ return m_policyGenerationDetails; }
44 inline bool PolicyGenerationDetailsHasBeenSet() const { return m_policyGenerationDetailsHasBeenSet; }
45 inline void SetPolicyGenerationDetails(const PolicyGenerationDetails& value) { m_policyGenerationDetailsHasBeenSet = true; m_policyGenerationDetails = value; }
46 inline void SetPolicyGenerationDetails(PolicyGenerationDetails&& value) { m_policyGenerationDetailsHasBeenSet = true; m_policyGenerationDetails = std::move(value); }
50
52
56 inline const CloudTrailDetails& GetCloudTrailDetails() const{ return m_cloudTrailDetails; }
57 inline bool CloudTrailDetailsHasBeenSet() const { return m_cloudTrailDetailsHasBeenSet; }
58 inline void SetCloudTrailDetails(const CloudTrailDetails& value) { m_cloudTrailDetailsHasBeenSet = true; m_cloudTrailDetails = value; }
59 inline void SetCloudTrailDetails(CloudTrailDetails&& value) { m_cloudTrailDetailsHasBeenSet = true; m_cloudTrailDetails = std::move(value); }
63
65
74 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
77 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
78 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
79 inline StartPolicyGenerationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
80 inline StartPolicyGenerationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
81 inline StartPolicyGenerationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
83 private:
84
85 PolicyGenerationDetails m_policyGenerationDetails;
86 bool m_policyGenerationDetailsHasBeenSet = false;
87
88 CloudTrailDetails m_cloudTrailDetails;
89 bool m_cloudTrailDetailsHasBeenSet = false;
90
91 Aws::String m_clientToken;
92 bool m_clientTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AccessAnalyzer
97} // namespace Aws
StartPolicyGenerationRequest & WithClientToken(Aws::String &&value)
StartPolicyGenerationRequest & WithPolicyGenerationDetails(PolicyGenerationDetails &&value)
StartPolicyGenerationRequest & WithCloudTrailDetails(const CloudTrailDetails &value)
StartPolicyGenerationRequest & WithClientToken(const char *value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
void SetPolicyGenerationDetails(const PolicyGenerationDetails &value)
StartPolicyGenerationRequest & WithPolicyGenerationDetails(const PolicyGenerationDetails &value)
StartPolicyGenerationRequest & WithClientToken(const Aws::String &value)
StartPolicyGenerationRequest & WithCloudTrailDetails(CloudTrailDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String