AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartResourceScanRequest.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 AccessAnalyzer
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ACCESSANALYZER_API StartResourceScanRequest();
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 "StartResourceScan"; }
35
36 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
37
38
40
46 inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
47 inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
48 inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
49 inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
50 inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
51 inline StartResourceScanRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
52 inline StartResourceScanRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
53 inline StartResourceScanRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
55
57
60 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
61 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
62 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
63 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
64 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
65 inline StartResourceScanRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
66 inline StartResourceScanRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
67 inline StartResourceScanRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
69
71
76 inline const Aws::String& GetResourceOwnerAccount() const{ return m_resourceOwnerAccount; }
77 inline bool ResourceOwnerAccountHasBeenSet() const { return m_resourceOwnerAccountHasBeenSet; }
78 inline void SetResourceOwnerAccount(const Aws::String& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = value; }
79 inline void SetResourceOwnerAccount(Aws::String&& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = std::move(value); }
80 inline void SetResourceOwnerAccount(const char* value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount.assign(value); }
82 inline StartResourceScanRequest& WithResourceOwnerAccount(Aws::String&& value) { SetResourceOwnerAccount(std::move(value)); return *this;}
83 inline StartResourceScanRequest& WithResourceOwnerAccount(const char* value) { SetResourceOwnerAccount(value); return *this;}
85 private:
86
87 Aws::String m_analyzerArn;
88 bool m_analyzerArnHasBeenSet = false;
89
90 Aws::String m_resourceArn;
91 bool m_resourceArnHasBeenSet = false;
92
93 Aws::String m_resourceOwnerAccount;
94 bool m_resourceOwnerAccountHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AccessAnalyzer
99} // namespace Aws
StartResourceScanRequest & WithResourceArn(Aws::String &&value)
StartResourceScanRequest & WithAnalyzerArn(const char *value)
StartResourceScanRequest & WithResourceOwnerAccount(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartResourceScanRequest & WithAnalyzerArn(const Aws::String &value)
StartResourceScanRequest & WithResourceOwnerAccount(Aws::String &&value)
StartResourceScanRequest & WithAnalyzerArn(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
StartResourceScanRequest & WithResourceArn(const Aws::String &value)
StartResourceScanRequest & WithResourceArn(const char *value)
StartResourceScanRequest & WithResourceOwnerAccount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String