AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentAlreadyRunningAssessment.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_INSPECTOR_API AgentAlreadyRunningAssessment();
39 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAgentId() const{ return m_agentId; }
48 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
49 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
50 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
51 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
52 inline AgentAlreadyRunningAssessment& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
53 inline AgentAlreadyRunningAssessment& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
54 inline AgentAlreadyRunningAssessment& WithAgentId(const char* value) { SetAgentId(value); return *this;}
56
58
61 inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; }
62 inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; }
63 inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; }
64 inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); }
65 inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); }
67 inline AgentAlreadyRunningAssessment& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;}
68 inline AgentAlreadyRunningAssessment& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;}
70 private:
71
72 Aws::String m_agentId;
73 bool m_agentIdHasBeenSet = false;
74
75 Aws::String m_assessmentRunArn;
76 bool m_assessmentRunArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Inspector
81} // namespace Aws
AgentAlreadyRunningAssessment & WithAgentId(Aws::String &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AgentAlreadyRunningAssessment & WithAssessmentRunArn(Aws::String &&value)
AgentAlreadyRunningAssessment & WithAgentId(const char *value)
AWS_INSPECTOR_API AgentAlreadyRunningAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentAlreadyRunningAssessment & WithAgentId(const Aws::String &value)
AgentAlreadyRunningAssessment & WithAssessmentRunArn(const char *value)
AWS_INSPECTOR_API AgentAlreadyRunningAssessment(Aws::Utils::Json::JsonView jsonValue)
AgentAlreadyRunningAssessment & WithAssessmentRunArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue