AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateConstraintRequest.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ServiceCatalog
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SERVICECATALOG_API UpdateConstraintRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateConstraint"; }
31
32 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
33
34 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetAcceptLanguage() const { return m_acceptLanguage; }
43 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
44 template<typename AcceptLanguageT = Aws::String>
45 void SetAcceptLanguage(AcceptLanguageT&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::forward<AcceptLanguageT>(value); }
46 template<typename AcceptLanguageT = Aws::String>
47 UpdateConstraintRequest& WithAcceptLanguage(AcceptLanguageT&& value) { SetAcceptLanguage(std::forward<AcceptLanguageT>(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 template<typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
58 template<typename IdT = Aws::String>
59 UpdateConstraintRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(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 UpdateConstraintRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
111 inline const Aws::String& GetParameters() const { return m_parameters; }
112 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
113 template<typename ParametersT = Aws::String>
114 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
115 template<typename ParametersT = Aws::String>
116 UpdateConstraintRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
118 private:
119
120 Aws::String m_acceptLanguage;
121 bool m_acceptLanguageHasBeenSet = false;
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_parameters;
130 bool m_parametersHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ServiceCatalog
135} // 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