AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateConstraintRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ServiceCatalog {
15namespace Model {
16
20 public:
21 AWS_SERVICECATALOG_API UpdateConstraintRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateConstraint"; }
28
29 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
30
31 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetAcceptLanguage() const { return m_acceptLanguage; }
39 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
40 template <typename AcceptLanguageT = Aws::String>
41 void SetAcceptLanguage(AcceptLanguageT&& value) {
42 m_acceptLanguageHasBeenSet = true;
43 m_acceptLanguage = std::forward<AcceptLanguageT>(value);
44 }
45 template <typename AcceptLanguageT = Aws::String>
46 UpdateConstraintRequest& WithAcceptLanguage(AcceptLanguageT&& value) {
47 SetAcceptLanguage(std::forward<AcceptLanguageT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
125 inline const Aws::String& GetParameters() const { return m_parameters; }
126 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
127 template <typename ParametersT = Aws::String>
128 void SetParameters(ParametersT&& value) {
129 m_parametersHasBeenSet = true;
130 m_parameters = std::forward<ParametersT>(value);
131 }
132 template <typename ParametersT = Aws::String>
134 SetParameters(std::forward<ParametersT>(value));
135 return *this;
136 }
138 private:
139 Aws::String m_acceptLanguage;
140
141 Aws::String m_id;
142
143 Aws::String m_description;
144
145 Aws::String m_parameters;
146 bool m_acceptLanguageHasBeenSet = false;
147 bool m_idHasBeenSet = false;
148 bool m_descriptionHasBeenSet = false;
149 bool m_parametersHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace ServiceCatalog
154} // namespace Aws
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
UpdateConstraintRequest & WithDescription(DescriptionT &&value)
UpdateConstraintRequest & WithParameters(ParametersT &&value)
UpdateConstraintRequest & WithAcceptLanguage(AcceptLanguageT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICECATALOG_API UpdateConstraintRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String