AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateInvestigationStateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/detective/DetectiveRequest.h>
9#include <aws/detective/Detective_EXPORTS.h>
10#include <aws/detective/model/State.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Detective {
16namespace Model {
17
21 public:
22 AWS_DETECTIVE_API UpdateInvestigationStateRequest() = 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 "UpdateInvestigationState"; }
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& GetInvestigationId() const { return m_investigationId; }
55 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
56 template <typename InvestigationIdT = Aws::String>
57 void SetInvestigationId(InvestigationIdT&& value) {
58 m_investigationIdHasBeenSet = true;
59 m_investigationId = std::forward<InvestigationIdT>(value);
60 }
61 template <typename InvestigationIdT = Aws::String>
63 SetInvestigationId(std::forward<InvestigationIdT>(value));
64 return *this;
65 }
67
69
73 inline State GetState() const { return m_state; }
74 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
75 inline void SetState(State value) {
76 m_stateHasBeenSet = true;
77 m_state = value;
78 }
80 SetState(value);
81 return *this;
82 }
84 private:
85 Aws::String m_graphArn;
86 bool m_graphArnHasBeenSet = false;
87
88 Aws::String m_investigationId;
89 bool m_investigationIdHasBeenSet = false;
90
91 State m_state{State::NOT_SET};
92 bool m_stateHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Detective
97} // namespace Aws
UpdateInvestigationStateRequest & WithInvestigationId(InvestigationIdT &&value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
AWS_DETECTIVE_API UpdateInvestigationStateRequest()=default
UpdateInvestigationStateRequest & WithGraphArn(GraphArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String