AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartDevEnvironmentSessionRequest.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 <aws/codecatalyst/model/DevEnvironmentSessionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeCatalyst
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECATALYST_API StartDevEnvironmentSessionRequest() = 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 "StartDevEnvironmentSession"; }
32
33 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
41 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
42 template<typename SpaceNameT = Aws::String>
43 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
44 template<typename SpaceNameT = Aws::String>
45 StartDevEnvironmentSessionRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetProjectName() const { return m_projectName; }
53 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
54 template<typename ProjectNameT = Aws::String>
55 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
56 template<typename ProjectNameT = Aws::String>
57 StartDevEnvironmentSessionRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
59
61
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 StartDevEnvironmentSessionRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
74 inline const DevEnvironmentSessionConfiguration& GetSessionConfiguration() const { return m_sessionConfiguration; }
75 inline bool SessionConfigurationHasBeenSet() const { return m_sessionConfigurationHasBeenSet; }
76 template<typename SessionConfigurationT = DevEnvironmentSessionConfiguration>
77 void SetSessionConfiguration(SessionConfigurationT&& value) { m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration = std::forward<SessionConfigurationT>(value); }
78 template<typename SessionConfigurationT = DevEnvironmentSessionConfiguration>
79 StartDevEnvironmentSessionRequest& WithSessionConfiguration(SessionConfigurationT&& value) { SetSessionConfiguration(std::forward<SessionConfigurationT>(value)); return *this;}
81 private:
82
83 Aws::String m_spaceName;
84 bool m_spaceNameHasBeenSet = false;
85
86 Aws::String m_projectName;
87 bool m_projectNameHasBeenSet = false;
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
92 DevEnvironmentSessionConfiguration m_sessionConfiguration;
93 bool m_sessionConfigurationHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeCatalyst
98} // 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