AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename GraphArnT = Aws::String>
43 void SetGraphArn(GraphArnT&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::forward<GraphArnT>(value); }
44 template<typename GraphArnT = Aws::String>
45 StartInvestigationRequest& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
53 inline bool EntityArnHasBeenSet() const { return m_entityArnHasBeenSet; }
54 template<typename EntityArnT = Aws::String>
55 void SetEntityArn(EntityArnT&& value) { m_entityArnHasBeenSet = true; m_entityArn = std::forward<EntityArnT>(value); }
56 template<typename EntityArnT = Aws::String>
57 StartInvestigationRequest& WithEntityArn(EntityArnT&& value) { SetEntityArn(std::forward<EntityArnT>(value)); return *this;}
59
61
65 inline const Aws::Utils::DateTime& GetScopeStartTime() const { return m_scopeStartTime; }
66 inline bool ScopeStartTimeHasBeenSet() const { return m_scopeStartTimeHasBeenSet; }
67 template<typename ScopeStartTimeT = Aws::Utils::DateTime>
68 void SetScopeStartTime(ScopeStartTimeT&& value) { m_scopeStartTimeHasBeenSet = true; m_scopeStartTime = std::forward<ScopeStartTimeT>(value); }
69 template<typename ScopeStartTimeT = Aws::Utils::DateTime>
70 StartInvestigationRequest& WithScopeStartTime(ScopeStartTimeT&& value) { SetScopeStartTime(std::forward<ScopeStartTimeT>(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetScopeEndTime() const { return m_scopeEndTime; }
79 inline bool ScopeEndTimeHasBeenSet() const { return m_scopeEndTimeHasBeenSet; }
80 template<typename ScopeEndTimeT = Aws::Utils::DateTime>
81 void SetScopeEndTime(ScopeEndTimeT&& value) { m_scopeEndTimeHasBeenSet = true; m_scopeEndTime = std::forward<ScopeEndTimeT>(value); }
82 template<typename ScopeEndTimeT = Aws::Utils::DateTime>
83 StartInvestigationRequest& WithScopeEndTime(ScopeEndTimeT&& value) { SetScopeEndTime(std::forward<ScopeEndTimeT>(value)); return *this;}
85 private:
86
87 Aws::String m_graphArn;
88 bool m_graphArnHasBeenSet = false;
89
90 Aws::String m_entityArn;
91 bool m_entityArnHasBeenSet = false;
92
93 Aws::Utils::DateTime m_scopeStartTime{};
94 bool m_scopeStartTimeHasBeenSet = false;
95
96 Aws::Utils::DateTime m_scopeEndTime{};
97 bool m_scopeEndTimeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Detective
102} // namespace Aws
const Aws::Utils::DateTime & GetScopeStartTime() const
StartInvestigationRequest & WithGraphArn(GraphArnT &&value)
StartInvestigationRequest & WithScopeEndTime(ScopeEndTimeT &&value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
StartInvestigationRequest & WithEntityArn(EntityArnT &&value)
StartInvestigationRequest & WithScopeStartTime(ScopeStartTimeT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DETECTIVE_API StartInvestigationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String