AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeServicesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/support/SupportRequest.h>
10#include <aws/support/Support_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Support {
16namespace Model {
17
21 public:
22 AWS_SUPPORT_API DescribeServicesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeServices"; }
29
30 AWS_SUPPORT_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::Vector<Aws::String>& GetServiceCodeList() const { return m_serviceCodeList; }
40 inline bool ServiceCodeListHasBeenSet() const { return m_serviceCodeListHasBeenSet; }
41 template <typename ServiceCodeListT = Aws::Vector<Aws::String>>
42 void SetServiceCodeList(ServiceCodeListT&& value) {
43 m_serviceCodeListHasBeenSet = true;
44 m_serviceCodeList = std::forward<ServiceCodeListT>(value);
45 }
46 template <typename ServiceCodeListT = Aws::Vector<Aws::String>>
47 DescribeServicesRequest& WithServiceCodeList(ServiceCodeListT&& value) {
48 SetServiceCodeList(std::forward<ServiceCodeListT>(value));
49 return *this;
50 }
51 template <typename ServiceCodeListT = Aws::String>
52 DescribeServicesRequest& AddServiceCodeList(ServiceCodeListT&& value) {
53 m_serviceCodeListHasBeenSet = true;
54 m_serviceCodeList.emplace_back(std::forward<ServiceCodeListT>(value));
55 return *this;
56 }
58
60
66 inline const Aws::String& GetLanguage() const { return m_language; }
67 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
68 template <typename LanguageT = Aws::String>
69 void SetLanguage(LanguageT&& value) {
70 m_languageHasBeenSet = true;
71 m_language = std::forward<LanguageT>(value);
72 }
73 template <typename LanguageT = Aws::String>
75 SetLanguage(std::forward<LanguageT>(value));
76 return *this;
77 }
79 private:
80 Aws::Vector<Aws::String> m_serviceCodeList;
81
82 Aws::String m_language;
83 bool m_serviceCodeListHasBeenSet = false;
84 bool m_languageHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Support
89} // namespace Aws
DescribeServicesRequest & WithLanguage(LanguageT &&value)
DescribeServicesRequest & WithServiceCodeList(ServiceCodeListT &&value)
virtual const char * GetServiceRequestName() const override
DescribeServicesRequest & AddServiceCodeList(ServiceCodeListT &&value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetServiceCodeList() const
AWS_SUPPORT_API DescribeServicesRequest()=default
AWS_SUPPORT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector