AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartDevEnvironmentSessionRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalystRequest.h>
8#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
9#include <aws/codecatalyst/model/DevEnvironmentSessionConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeCatalyst {
16namespace Model {
17
21 public:
22 AWS_CODECATALYST_API StartDevEnvironmentSessionRequest() = 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 "StartDevEnvironmentSession"; }
29
30 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
37 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
38 template <typename SpaceNameT = Aws::String>
39 void SetSpaceName(SpaceNameT&& value) {
40 m_spaceNameHasBeenSet = true;
41 m_spaceName = std::forward<SpaceNameT>(value);
42 }
43 template <typename SpaceNameT = Aws::String>
45 SetSpaceName(std::forward<SpaceNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetProjectName() const { return m_projectName; }
55 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
56 template <typename ProjectNameT = Aws::String>
57 void SetProjectName(ProjectNameT&& value) {
58 m_projectNameHasBeenSet = true;
59 m_projectName = std::forward<ProjectNameT>(value);
60 }
61 template <typename ProjectNameT = Aws::String>
63 SetProjectName(std::forward<ProjectNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetId() const { return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 template <typename IdT = Aws::String>
75 void SetId(IdT&& value) {
76 m_idHasBeenSet = true;
77 m_id = std::forward<IdT>(value);
78 }
79 template <typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
82 return *this;
83 }
85
87
88 inline const DevEnvironmentSessionConfiguration& GetSessionConfiguration() const { return m_sessionConfiguration; }
89 inline bool SessionConfigurationHasBeenSet() const { return m_sessionConfigurationHasBeenSet; }
90 template <typename SessionConfigurationT = DevEnvironmentSessionConfiguration>
91 void SetSessionConfiguration(SessionConfigurationT&& value) {
92 m_sessionConfigurationHasBeenSet = true;
93 m_sessionConfiguration = std::forward<SessionConfigurationT>(value);
94 }
95 template <typename SessionConfigurationT = DevEnvironmentSessionConfiguration>
97 SetSessionConfiguration(std::forward<SessionConfigurationT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_spaceName;
103
104 Aws::String m_projectName;
105
106 Aws::String m_id;
107
108 DevEnvironmentSessionConfiguration m_sessionConfiguration;
109 bool m_spaceNameHasBeenSet = false;
110 bool m_projectNameHasBeenSet = false;
111 bool m_idHasBeenSet = false;
112 bool m_sessionConfigurationHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace CodeCatalyst
117} // namespace Aws
AWS_CODECATALYST_API StartDevEnvironmentSessionRequest()=default
const DevEnvironmentSessionConfiguration & GetSessionConfiguration() const
StartDevEnvironmentSessionRequest & WithProjectName(ProjectNameT &&value)
StartDevEnvironmentSessionRequest & WithSpaceName(SpaceNameT &&value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
StartDevEnvironmentSessionRequest & WithSessionConfiguration(SessionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String