AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEnvironmentRequest.h
1
6#pragma once
7#include <aws/cloud9/Cloud9_EXPORTS.h>
8#include <aws/cloud9/Cloud9Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloud9/model/ManagedCredentialsAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Cloud9
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUD9_API UpdateEnvironmentRequest() = 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 "UpdateEnvironment"; }
32
33 AWS_CLOUD9_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
43 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
44 template<typename EnvironmentIdT = Aws::String>
45 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
46 template<typename EnvironmentIdT = Aws::String>
47 UpdateEnvironmentRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateEnvironmentRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateEnvironmentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
85 inline ManagedCredentialsAction GetManagedCredentialsAction() const { return m_managedCredentialsAction; }
86 inline bool ManagedCredentialsActionHasBeenSet() const { return m_managedCredentialsActionHasBeenSet; }
87 inline void SetManagedCredentialsAction(ManagedCredentialsAction value) { m_managedCredentialsActionHasBeenSet = true; m_managedCredentialsAction = value; }
90 private:
91
92 Aws::String m_environmentId;
93 bool m_environmentIdHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
102 bool m_managedCredentialsActionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Cloud9
107} // namespace Aws
UpdateEnvironmentRequest & WithDescription(DescriptionT &&value)
UpdateEnvironmentRequest & WithEnvironmentId(EnvironmentIdT &&value)
void SetManagedCredentialsAction(ManagedCredentialsAction value)
virtual const char * GetServiceRequestName() const override
UpdateEnvironmentRequest & WithName(NameT &&value)
AWS_CLOUD9_API UpdateEnvironmentRequest()=default
AWS_CLOUD9_API Aws::String SerializePayload() const override
UpdateEnvironmentRequest & WithManagedCredentialsAction(ManagedCredentialsAction value)
AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ManagedCredentialsAction GetManagedCredentialsAction() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String