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/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_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_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdateEnvironmentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdateEnvironmentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdateEnvironmentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
55 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
56 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
57 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
58 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
59 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
61 inline UpdateEnvironmentRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
62 inline UpdateEnvironmentRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
64
66
70 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
71 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
72 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
73 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
75 inline UpdateEnvironmentRequest& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
76 inline UpdateEnvironmentRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
77 inline UpdateEnvironmentRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
78 inline UpdateEnvironmentRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
80
82
85 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
86 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
87 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
88 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
89 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
90 inline UpdateEnvironmentRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
91 inline UpdateEnvironmentRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
92 inline UpdateEnvironmentRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
94
96
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline UpdateEnvironmentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline UpdateEnvironmentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline UpdateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;}
109 private:
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::String m_domainIdentifier;
115 bool m_domainIdentifierHasBeenSet = false;
116
117 Aws::Vector<Aws::String> m_glossaryTerms;
118 bool m_glossaryTermsHasBeenSet = false;
119
120 Aws::String m_identifier;
121 bool m_identifierHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DataZone
129} // namespace Aws
UpdateEnvironmentRequest & AddGlossaryTerms(const Aws::String &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateEnvironmentRequest & WithDescription(const Aws::String &value)
UpdateEnvironmentRequest & AddGlossaryTerms(const char *value)
UpdateEnvironmentRequest & AddGlossaryTerms(Aws::String &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateEnvironmentRequest & WithDomainIdentifier(const char *value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateEnvironmentRequest & WithDescription(Aws::String &&value)
UpdateEnvironmentRequest & WithIdentifier(const Aws::String &value)
UpdateEnvironmentRequest & WithIdentifier(const char *value)
UpdateEnvironmentRequest & WithIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateEnvironmentRequest & WithDescription(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentRequest & WithName(Aws::String &&value)
UpdateEnvironmentRequest & WithName(const Aws::String &value)
UpdateEnvironmentRequest & WithName(const char *value)
UpdateEnvironmentRequest & WithDomainIdentifier(Aws::String &&value)
UpdateEnvironmentRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateEnvironmentRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateEnvironmentRequest & WithDomainIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector