AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeServiceActionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServiceCatalog
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DescribeServiceAction"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetId() const{ return m_id; }
41 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
50  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 
55  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
56 
60  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 
65  inline DescribeServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
66 
70  inline DescribeServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 
75  inline DescribeServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
76 
77 
83  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
84 
90  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
91 
97  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
98 
104  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
105 
111  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
112 
118  inline DescribeServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
119 
125  inline DescribeServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
126 
132  inline DescribeServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
133 
134  private:
135 
136  Aws::String m_id;
137  bool m_idHasBeenSet;
138 
139  Aws::String m_acceptLanguage;
140  bool m_acceptLanguageHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace ServiceCatalog
145 } // namespace Aws
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithAcceptLanguage
DescribeServiceActionRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DescribeServiceActionRequest.h:125
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DescribeServiceActionRequest.h:90
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithAcceptLanguage
DescribeServiceActionRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DescribeServiceActionRequest.h:118
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DescribeServiceActionRequest.h:104
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetId
void SetId(const Aws::String &value)
Definition: DescribeServiceActionRequest.h:50
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DescribeServiceActionRequest.h:45
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DescribeServiceActionRequest.h:111
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DescribeServiceActionRequest.h:83
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithAcceptLanguage
DescribeServiceActionRequest & WithAcceptLanguage(const char *value)
Definition: DescribeServiceActionRequest.h:132
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DescribeServiceActionRequest.h:97
Aws::ServiceCatalog::Model::DescribeServiceActionRequest
Definition: DescribeServiceActionRequest.h:22
AWSString.h
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetId
void SetId(Aws::String &&value)
Definition: DescribeServiceActionRequest.h:55
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::SetId
void SetId(const char *value)
Definition: DescribeServiceActionRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithId
DescribeServiceActionRequest & WithId(const char *value)
Definition: DescribeServiceActionRequest.h:75
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithId
DescribeServiceActionRequest & WithId(Aws::String &&value)
Definition: DescribeServiceActionRequest.h:70
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::DescribeServiceActionRequest
DescribeServiceActionRequest()
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::GetId
const Aws::String & GetId() const
Definition: DescribeServiceActionRequest.h:40
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::WithId
DescribeServiceActionRequest & WithId(const Aws::String &value)
Definition: DescribeServiceActionRequest.h:65
Aws::ServiceCatalog::Model::DescribeServiceActionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeServiceActionRequest.h:30