AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartInvestigationRequest.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/DetectiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Detective
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DETECTIVE_API StartInvestigationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartInvestigation"; }
32
33 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGraphArn() const{ return m_graphArn; }
41 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
42 inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
43 inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
44 inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
45 inline StartInvestigationRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
46 inline StartInvestigationRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
47 inline StartInvestigationRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
49
51
54 inline const Aws::String& GetEntityArn() const{ return m_entityArn; }
55 inline bool EntityArnHasBeenSet() const { return m_entityArnHasBeenSet; }
56 inline void SetEntityArn(const Aws::String& value) { m_entityArnHasBeenSet = true; m_entityArn = value; }
57 inline void SetEntityArn(Aws::String&& value) { m_entityArnHasBeenSet = true; m_entityArn = std::move(value); }
58 inline void SetEntityArn(const char* value) { m_entityArnHasBeenSet = true; m_entityArn.assign(value); }
59 inline StartInvestigationRequest& WithEntityArn(const Aws::String& value) { SetEntityArn(value); return *this;}
60 inline StartInvestigationRequest& WithEntityArn(Aws::String&& value) { SetEntityArn(std::move(value)); return *this;}
61 inline StartInvestigationRequest& WithEntityArn(const char* value) { SetEntityArn(value); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetScopeStartTime() const{ return m_scopeStartTime; }
70 inline bool ScopeStartTimeHasBeenSet() const { return m_scopeStartTimeHasBeenSet; }
71 inline void SetScopeStartTime(const Aws::Utils::DateTime& value) { m_scopeStartTimeHasBeenSet = true; m_scopeStartTime = value; }
72 inline void SetScopeStartTime(Aws::Utils::DateTime&& value) { m_scopeStartTimeHasBeenSet = true; m_scopeStartTime = std::move(value); }
74 inline StartInvestigationRequest& WithScopeStartTime(Aws::Utils::DateTime&& value) { SetScopeStartTime(std::move(value)); return *this;}
76
78
82 inline const Aws::Utils::DateTime& GetScopeEndTime() const{ return m_scopeEndTime; }
83 inline bool ScopeEndTimeHasBeenSet() const { return m_scopeEndTimeHasBeenSet; }
84 inline void SetScopeEndTime(const Aws::Utils::DateTime& value) { m_scopeEndTimeHasBeenSet = true; m_scopeEndTime = value; }
85 inline void SetScopeEndTime(Aws::Utils::DateTime&& value) { m_scopeEndTimeHasBeenSet = true; m_scopeEndTime = std::move(value); }
87 inline StartInvestigationRequest& WithScopeEndTime(Aws::Utils::DateTime&& value) { SetScopeEndTime(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_graphArn;
92 bool m_graphArnHasBeenSet = false;
93
94 Aws::String m_entityArn;
95 bool m_entityArnHasBeenSet = false;
96
97 Aws::Utils::DateTime m_scopeStartTime;
98 bool m_scopeStartTimeHasBeenSet = false;
99
100 Aws::Utils::DateTime m_scopeEndTime;
101 bool m_scopeEndTimeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Detective
106} // namespace Aws
StartInvestigationRequest & WithEntityArn(Aws::String &&value)
StartInvestigationRequest & WithScopeStartTime(const Aws::Utils::DateTime &value)
void SetScopeStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetScopeStartTime() const
StartInvestigationRequest & WithEntityArn(const Aws::String &value)
StartInvestigationRequest & WithGraphArn(const Aws::String &value)
void SetScopeEndTime(const Aws::Utils::DateTime &value)
StartInvestigationRequest & WithGraphArn(const char *value)
StartInvestigationRequest & WithScopeEndTime(Aws::Utils::DateTime &&value)
StartInvestigationRequest & WithScopeEndTime(const Aws::Utils::DateTime &value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
StartInvestigationRequest & WithScopeStartTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
StartInvestigationRequest & WithGraphArn(Aws::String &&value)
StartInvestigationRequest & WithEntityArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String