AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeServicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Support
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DescribeServices"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetServiceCodeList() const{ return m_serviceCodeList; }
42 
46  inline bool ServiceCodeListHasBeenSet() const { return m_serviceCodeListHasBeenSet; }
47 
51  inline void SetServiceCodeList(const Aws::Vector<Aws::String>& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList = value; }
52 
56  inline void SetServiceCodeList(Aws::Vector<Aws::String>&& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList = std::move(value); }
57 
61  inline DescribeServicesRequest& WithServiceCodeList(const Aws::Vector<Aws::String>& value) { SetServiceCodeList(value); return *this;}
62 
66  inline DescribeServicesRequest& WithServiceCodeList(Aws::Vector<Aws::String>&& value) { SetServiceCodeList(std::move(value)); return *this;}
67 
71  inline DescribeServicesRequest& AddServiceCodeList(const Aws::String& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(value); return *this; }
72 
76  inline DescribeServicesRequest& AddServiceCodeList(Aws::String&& value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(std::move(value)); return *this; }
77 
81  inline DescribeServicesRequest& AddServiceCodeList(const char* value) { m_serviceCodeListHasBeenSet = true; m_serviceCodeList.push_back(value); return *this; }
82 
83 
89  inline const Aws::String& GetLanguage() const{ return m_language; }
90 
96  inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
97 
103  inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
104 
110  inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
111 
117  inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
118 
124  inline DescribeServicesRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
125 
131  inline DescribeServicesRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
132 
138  inline DescribeServicesRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
139 
140  private:
141 
142  Aws::Vector<Aws::String> m_serviceCodeList;
143  bool m_serviceCodeListHasBeenSet;
144 
145  Aws::String m_language;
146  bool m_languageHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace Support
151 } // namespace Aws
Aws::Support::Model::DescribeServicesRequest::GetServiceCodeList
const Aws::Vector< Aws::String > & GetServiceCodeList() const
Definition: DescribeServicesRequest.h:41
Aws::Support::Model::DescribeServicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeServicesRequest.h:31
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Support::Model::DescribeServicesRequest::SetServiceCodeList
void SetServiceCodeList(const Aws::Vector< Aws::String > &value)
Definition: DescribeServicesRequest.h:51
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Support::SupportRequest
Definition: SupportRequest.h:17
AWSVector.h
SupportRequest.h
Aws::Support::Model::DescribeServicesRequest::WithLanguage
DescribeServicesRequest & WithLanguage(const Aws::String &value)
Definition: DescribeServicesRequest.h:124
Aws::Support::Model::DescribeServicesRequest::ServiceCodeListHasBeenSet
bool ServiceCodeListHasBeenSet() const
Definition: DescribeServicesRequest.h:46
Aws::Support::Model::DescribeServicesRequest::GetLanguage
const Aws::String & GetLanguage() const
Definition: DescribeServicesRequest.h:89
Aws::Support::Model::DescribeServicesRequest
Definition: DescribeServicesRequest.h:23
Aws::Support::Model::DescribeServicesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Support::Model::DescribeServicesRequest::WithLanguage
DescribeServicesRequest & WithLanguage(Aws::String &&value)
Definition: DescribeServicesRequest.h:131
Aws::Support::Model::DescribeServicesRequest::SetLanguage
void SetLanguage(const char *value)
Definition: DescribeServicesRequest.h:117
Aws::Support::Model::DescribeServicesRequest::WithServiceCodeList
DescribeServicesRequest & WithServiceCodeList(const Aws::Vector< Aws::String > &value)
Definition: DescribeServicesRequest.h:61
Aws::Support::Model::DescribeServicesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Support_EXPORTS.h
AWS_SUPPORT_API
#define AWS_SUPPORT_API
Definition: Support_EXPORTS.h:28
Aws::Support::Model::DescribeServicesRequest::WithServiceCodeList
DescribeServicesRequest & WithServiceCodeList(Aws::Vector< Aws::String > &&value)
Definition: DescribeServicesRequest.h:66
Aws::Support::Model::DescribeServicesRequest::LanguageHasBeenSet
bool LanguageHasBeenSet() const
Definition: DescribeServicesRequest.h:96
Aws::Support::Model::DescribeServicesRequest::SetLanguage
void SetLanguage(Aws::String &&value)
Definition: DescribeServicesRequest.h:110
Aws::Support::Model::DescribeServicesRequest::WithLanguage
DescribeServicesRequest & WithLanguage(const char *value)
Definition: DescribeServicesRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::Support::Model::DescribeServicesRequest::AddServiceCodeList
DescribeServicesRequest & AddServiceCodeList(const char *value)
Definition: DescribeServicesRequest.h:81
Aws::Support::Model::DescribeServicesRequest::SetLanguage
void SetLanguage(const Aws::String &value)
Definition: DescribeServicesRequest.h:103
Aws::Support::Model::DescribeServicesRequest::AddServiceCodeList
DescribeServicesRequest & AddServiceCodeList(const Aws::String &value)
Definition: DescribeServicesRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Support::Model::DescribeServicesRequest::DescribeServicesRequest
DescribeServicesRequest()
Aws::Support::Model::DescribeServicesRequest::AddServiceCodeList
DescribeServicesRequest & AddServiceCodeList(Aws::String &&value)
Definition: DescribeServicesRequest.h:76
Aws::Support::Model::DescribeServicesRequest::SetServiceCodeList
void SetServiceCodeList(Aws::Vector< Aws::String > &&value)
Definition: DescribeServicesRequest.h:56