AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StopDevEnvironmentSessionRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/CodeCatalystRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CodeCatalyst
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CODECATALYST_API StopDevEnvironmentSessionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StopDevEnvironmentSession"; }
31
32 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
40 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
41 template<typename SpaceNameT = Aws::String>
42 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
43 template<typename SpaceNameT = Aws::String>
44 StopDevEnvironmentSessionRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetProjectName() const { return m_projectName; }
52 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
53 template<typename ProjectNameT = Aws::String>
54 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
55 template<typename ProjectNameT = Aws::String>
56 StopDevEnvironmentSessionRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
58
60
64 inline const Aws::String& GetId() const { return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 StopDevEnvironmentSessionRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
77 inline const Aws::String& GetSessionId() const { return m_sessionId; }
78 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
79 template<typename SessionIdT = Aws::String>
80 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
81 template<typename SessionIdT = Aws::String>
82 StopDevEnvironmentSessionRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_spaceName;
87 bool m_spaceNameHasBeenSet = false;
88
89 Aws::String m_projectName;
90 bool m_projectNameHasBeenSet = false;
91
92 Aws::String m_id;
93 bool m_idHasBeenSet = false;
94
95 Aws::String m_sessionId;
96 bool m_sessionIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CodeCatalyst
101} // namespace Aws
StopDevEnvironmentSessionRequest & WithSpaceName(SpaceNameT &&value)
StopDevEnvironmentSessionRequest & WithSessionId(SessionIdT &&value)
StopDevEnvironmentSessionRequest & WithProjectName(ProjectNameT &&value)
AWS_CODECATALYST_API StopDevEnvironmentSessionRequest()=default
AWS_CODECATALYST_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String