AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
45 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
46 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
47 inline UpdateEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
48 inline UpdateEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
49 inline UpdateEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline UpdateEnvironmentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdateEnvironmentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdateEnvironmentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateEnvironmentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateEnvironmentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
91 inline const ManagedCredentialsAction& GetManagedCredentialsAction() const{ return m_managedCredentialsAction; }
92 inline bool ManagedCredentialsActionHasBeenSet() const { return m_managedCredentialsActionHasBeenSet; }
93 inline void SetManagedCredentialsAction(const ManagedCredentialsAction& value) { m_managedCredentialsActionHasBeenSet = true; m_managedCredentialsAction = value; }
94 inline void SetManagedCredentialsAction(ManagedCredentialsAction&& value) { m_managedCredentialsActionHasBeenSet = true; m_managedCredentialsAction = std::move(value); }
98 private:
99
100 Aws::String m_environmentId;
101 bool m_environmentIdHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 ManagedCredentialsAction m_managedCredentialsAction;
110 bool m_managedCredentialsActionHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Cloud9
115} // namespace Aws
const ManagedCredentialsAction & GetManagedCredentialsAction() const
UpdateEnvironmentRequest & WithManagedCredentialsAction(const ManagedCredentialsAction &value)
UpdateEnvironmentRequest & WithName(const char *value)
UpdateEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
void SetManagedCredentialsAction(const ManagedCredentialsAction &value)
UpdateEnvironmentRequest & WithName(Aws::String &&value)
UpdateEnvironmentRequest & WithDescription(const char *value)
UpdateEnvironmentRequest & WithDescription(const Aws::String &value)
UpdateEnvironmentRequest & WithManagedCredentialsAction(ManagedCredentialsAction &&value)
virtual const char * GetServiceRequestName() const override
UpdateEnvironmentRequest & WithDescription(Aws::String &&value)
UpdateEnvironmentRequest & WithName(const Aws::String &value)
void SetManagedCredentialsAction(ManagedCredentialsAction &&value)
AWS_CLOUD9_API Aws::String SerializePayload() const override
UpdateEnvironmentRequest & WithEnvironmentId(const char *value)
UpdateEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String