AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateInvestigationStateRequest.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/detective/model/State.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Detective
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DETECTIVE_API UpdateInvestigationStateRequest() = 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 "UpdateInvestigationState"; }
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 UpdateInvestigationStateRequest& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
53 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
54 template<typename InvestigationIdT = Aws::String>
55 void SetInvestigationId(InvestigationIdT&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::forward<InvestigationIdT>(value); }
56 template<typename InvestigationIdT = Aws::String>
57 UpdateInvestigationStateRequest& WithInvestigationId(InvestigationIdT&& value) { SetInvestigationId(std::forward<InvestigationIdT>(value)); return *this;}
59
61
65 inline State GetState() const { return m_state; }
66 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
67 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
68 inline UpdateInvestigationStateRequest& WithState(State value) { SetState(value); return *this;}
70 private:
71
72 Aws::String m_graphArn;
73 bool m_graphArnHasBeenSet = false;
74
75 Aws::String m_investigationId;
76 bool m_investigationIdHasBeenSet = false;
77
78 State m_state{State::NOT_SET};
79 bool m_stateHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Detective
84} // 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