AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DescribeConstraintRequest.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 DescribeConstraintRequest() = 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 "DescribeConstraint"; }
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>
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 private:
70 Aws::String m_acceptLanguage;
71
72 Aws::String m_id;
73 bool m_acceptLanguageHasBeenSet = false;
74 bool m_idHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ServiceCatalog
79} // namespace Aws
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
AWS_SERVICECATALOG_API DescribeConstraintRequest()=default
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeConstraintRequest & WithAcceptLanguage(AcceptLanguageT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String