AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 UpdateInvestigationStateRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
46 inline UpdateInvestigationStateRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
47 inline UpdateInvestigationStateRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
49
51
54 inline const Aws::String& GetInvestigationId() const{ return m_investigationId; }
55 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
56 inline void SetInvestigationId(const Aws::String& value) { m_investigationIdHasBeenSet = true; m_investigationId = value; }
57 inline void SetInvestigationId(Aws::String&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::move(value); }
58 inline void SetInvestigationId(const char* value) { m_investigationIdHasBeenSet = true; m_investigationId.assign(value); }
60 inline UpdateInvestigationStateRequest& WithInvestigationId(Aws::String&& value) { SetInvestigationId(std::move(value)); return *this;}
61 inline UpdateInvestigationStateRequest& WithInvestigationId(const char* value) { SetInvestigationId(value); return *this;}
63
65
69 inline const State& GetState() const{ return m_state; }
70 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
71 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
72 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
73 inline UpdateInvestigationStateRequest& WithState(const State& value) { SetState(value); return *this;}
74 inline UpdateInvestigationStateRequest& WithState(State&& value) { SetState(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_graphArn;
79 bool m_graphArnHasBeenSet = false;
80
81 Aws::String m_investigationId;
82 bool m_investigationIdHasBeenSet = false;
83
84 State m_state;
85 bool m_stateHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Detective
90} // namespace Aws
UpdateInvestigationStateRequest & WithGraphArn(const Aws::String &value)
UpdateInvestigationStateRequest & WithState(const State &value)
UpdateInvestigationStateRequest & WithGraphArn(const char *value)
UpdateInvestigationStateRequest & WithGraphArn(Aws::String &&value)
UpdateInvestigationStateRequest & WithState(State &&value)
UpdateInvestigationStateRequest & WithInvestigationId(const char *value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
UpdateInvestigationStateRequest & WithInvestigationId(Aws::String &&value)
UpdateInvestigationStateRequest & WithInvestigationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String