AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
43 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
44 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
45 inline StartDevEnvironmentSessionRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
46 inline StartDevEnvironmentSessionRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
47 inline StartDevEnvironmentSessionRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
49
51
54 inline const Aws::String& GetProjectName() const{ return m_projectName; }
55 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
56 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
57 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
58 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
59 inline StartDevEnvironmentSessionRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
60 inline StartDevEnvironmentSessionRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
61 inline StartDevEnvironmentSessionRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
63
65
68 inline const Aws::String& GetId() const{ return m_id; }
69 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
70 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
71 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
72 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
73 inline StartDevEnvironmentSessionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
74 inline StartDevEnvironmentSessionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 inline StartDevEnvironmentSessionRequest& WithId(const char* value) { SetId(value); return *this;}
77
79
80 inline const DevEnvironmentSessionConfiguration& GetSessionConfiguration() const{ return m_sessionConfiguration; }
81 inline bool SessionConfigurationHasBeenSet() const { return m_sessionConfigurationHasBeenSet; }
82 inline void SetSessionConfiguration(const DevEnvironmentSessionConfiguration& value) { m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration = value; }
83 inline void SetSessionConfiguration(DevEnvironmentSessionConfiguration&& value) { m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration = std::move(value); }
87 private:
88
89 Aws::String m_spaceName;
90 bool m_spaceNameHasBeenSet = false;
91
92 Aws::String m_projectName;
93 bool m_projectNameHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 DevEnvironmentSessionConfiguration m_sessionConfiguration;
99 bool m_sessionConfigurationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeCatalyst
104} // namespace Aws
StartDevEnvironmentSessionRequest & WithId(const Aws::String &value)
const DevEnvironmentSessionConfiguration & GetSessionConfiguration() const
StartDevEnvironmentSessionRequest & WithId(Aws::String &&value)
StartDevEnvironmentSessionRequest & WithProjectName(const Aws::String &value)
StartDevEnvironmentSessionRequest & WithSpaceName(const Aws::String &value)
StartDevEnvironmentSessionRequest & WithProjectName(Aws::String &&value)
StartDevEnvironmentSessionRequest & WithProjectName(const char *value)
void SetSessionConfiguration(DevEnvironmentSessionConfiguration &&value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
StartDevEnvironmentSessionRequest & WithSessionConfiguration(DevEnvironmentSessionConfiguration &&value)
StartDevEnvironmentSessionRequest & WithId(const char *value)
StartDevEnvironmentSessionRequest & WithSpaceName(const char *value)
StartDevEnvironmentSessionRequest & WithSessionConfiguration(const DevEnvironmentSessionConfiguration &value)
void SetSessionConfiguration(const DevEnvironmentSessionConfiguration &value)
StartDevEnvironmentSessionRequest & WithSpaceName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String