AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
StartInvestigationRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/DetectiveRequest.h>
10#include <aws/detective/Detective_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Detective {
16namespace Model {
17
21 public:
22 AWS_DETECTIVE_API StartInvestigationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartInvestigation"; }
29
30 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
37 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
38 template <typename GraphArnT = Aws::String>
39 void SetGraphArn(GraphArnT&& value) {
40 m_graphArnHasBeenSet = true;
41 m_graphArn = std::forward<GraphArnT>(value);
42 }
43 template <typename GraphArnT = Aws::String>
45 SetGraphArn(std::forward<GraphArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
55 inline bool EntityArnHasBeenSet() const { return m_entityArnHasBeenSet; }
56 template <typename EntityArnT = Aws::String>
57 void SetEntityArn(EntityArnT&& value) {
58 m_entityArnHasBeenSet = true;
59 m_entityArn = std::forward<EntityArnT>(value);
60 }
61 template <typename EntityArnT = Aws::String>
63 SetEntityArn(std::forward<EntityArnT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::Utils::DateTime& GetScopeStartTime() const { return m_scopeStartTime; }
74 inline bool ScopeStartTimeHasBeenSet() const { return m_scopeStartTimeHasBeenSet; }
75 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
76 void SetScopeStartTime(ScopeStartTimeT&& value) {
77 m_scopeStartTimeHasBeenSet = true;
78 m_scopeStartTime = std::forward<ScopeStartTimeT>(value);
79 }
80 template <typename ScopeStartTimeT = Aws::Utils::DateTime>
82 SetScopeStartTime(std::forward<ScopeStartTimeT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::Utils::DateTime& GetScopeEndTime() const { return m_scopeEndTime; }
93 inline bool ScopeEndTimeHasBeenSet() const { return m_scopeEndTimeHasBeenSet; }
94 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
95 void SetScopeEndTime(ScopeEndTimeT&& value) {
96 m_scopeEndTimeHasBeenSet = true;
97 m_scopeEndTime = std::forward<ScopeEndTimeT>(value);
98 }
99 template <typename ScopeEndTimeT = Aws::Utils::DateTime>
101 SetScopeEndTime(std::forward<ScopeEndTimeT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_graphArn;
107 bool m_graphArnHasBeenSet = false;
108
109 Aws::String m_entityArn;
110 bool m_entityArnHasBeenSet = false;
111
112 Aws::Utils::DateTime m_scopeStartTime{};
113 bool m_scopeStartTimeHasBeenSet = false;
114
115 Aws::Utils::DateTime m_scopeEndTime{};
116 bool m_scopeEndTimeHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Detective
121} // 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