AWS SDK for C++  1.9.40
AWS SDK for C++
DeletePortfolioRequest.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 "DeletePortfolio"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
43 
49  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
50 
56  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
57 
63  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
64 
70  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
71 
77  inline DeletePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
78 
84  inline DeletePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
85 
91  inline DeletePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
92 
93 
97  inline const Aws::String& GetId() const{ return m_id; }
98 
102  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
103 
107  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
108 
112  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
113 
117  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
118 
122  inline DeletePortfolioRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
123 
127  inline DeletePortfolioRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
128 
132  inline DeletePortfolioRequest& WithId(const char* value) { SetId(value); return *this;}
133 
134  private:
135 
136  Aws::String m_acceptLanguage;
137  bool m_acceptLanguageHasBeenSet;
138 
139  Aws::String m_id;
140  bool m_idHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace ServiceCatalog
145 } // namespace Aws
Aws::ServiceCatalog::Model::DeletePortfolioRequest::GetId
const Aws::String & GetId() const
Definition: DeletePortfolioRequest.h:97
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DeletePortfolioRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithId
DeletePortfolioRequest & WithId(const Aws::String &value)
Definition: DeletePortfolioRequest.h:122
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithId
DeletePortfolioRequest & WithId(const char *value)
Definition: DeletePortfolioRequest.h:132
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithAcceptLanguage
DeletePortfolioRequest & WithAcceptLanguage(const char *value)
Definition: DeletePortfolioRequest.h:91
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetId
void SetId(const Aws::String &value)
Definition: DeletePortfolioRequest.h:107
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetId
void SetId(const char *value)
Definition: DeletePortfolioRequest.h:117
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithAcceptLanguage
DeletePortfolioRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DeletePortfolioRequest.h:84
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithId
DeletePortfolioRequest & WithId(Aws::String &&value)
Definition: DeletePortfolioRequest.h:127
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DeletePortfolioRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeletePortfolioRequest.h:102
Aws::ServiceCatalog::Model::DeletePortfolioRequest::WithAcceptLanguage
DeletePortfolioRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DeletePortfolioRequest.h:77
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DeletePortfolioRequest.h:63
Aws::ServiceCatalog::Model::DeletePortfolioRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DeletePortfolioRequest.h:49
AWSString.h
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DeletePortfolioRequest.h:56
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetId
void SetId(Aws::String &&value)
Definition: DeletePortfolioRequest.h:112
Aws::ServiceCatalog::Model::DeletePortfolioRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DeletePortfolioRequest.h:70
Aws::ServiceCatalog::Model::DeletePortfolioRequest
Definition: DeletePortfolioRequest.h:22
Aws::ServiceCatalog::Model::DeletePortfolioRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DeletePortfolioRequest.h:42
Aws::ServiceCatalog::Model::DeletePortfolioRequest::DeletePortfolioRequest
DeletePortfolioRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DeletePortfolioRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeletePortfolioRequest.h:30