AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
CreateEnvironmentRequest.h
1
6#pragma once
7#include <aws/continuum/ContinuumRequest.h>
8#include <aws/continuum/Continuum_EXPORTS.h>
9#include <aws/continuum/model/CreateEnvironmentConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Continuum {
16namespace Model {
17
26 public:
27 AWS_CONTINUUM_API CreateEnvironmentRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironment"; }
34
35 AWS_CONTINUUM_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline const CreateEnvironmentConfiguration& GetConfiguration() const { return m_configuration; }
61 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
62 template <typename ConfigurationT = CreateEnvironmentConfiguration>
63 void SetConfiguration(ConfigurationT&& value) {
64 m_configurationHasBeenSet = true;
65 m_configuration = std::forward<ConfigurationT>(value);
66 }
67 template <typename ConfigurationT = CreateEnvironmentConfiguration>
69 SetConfiguration(std::forward<ConfigurationT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_name;
75
76 CreateEnvironmentConfiguration m_configuration;
77 bool m_nameHasBeenSet = false;
78 bool m_configurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Continuum
83} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONTINUUM_API CreateEnvironmentRequest()=default
const CreateEnvironmentConfiguration & GetConfiguration() const
CreateEnvironmentRequest & WithConfiguration(ConfigurationT &&value)
AWS_CONTINUUM_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String