AWS SDK for C++  1.9.104
AWS SDK for C++
DescribePortfolioShareStatusRequest.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 "DescribePortfolioShareStatus"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; }
42 
47  inline bool PortfolioShareTokenHasBeenSet() const { return m_portfolioShareTokenHasBeenSet; }
48 
53  inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken = value; }
54 
59  inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken = std::move(value); }
60 
65  inline void SetPortfolioShareToken(const char* value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken.assign(value); }
66 
71  inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;}
72 
77  inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;}
78 
83  inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;}
84 
85  private:
86 
87  Aws::String m_portfolioShareToken;
88  bool m_portfolioShareTokenHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace ServiceCatalog
93 } // namespace Aws
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePortfolioShareStatusRequest.h:30
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::GetPortfolioShareToken
const Aws::String & GetPortfolioShareToken() const
Definition: DescribePortfolioShareStatusRequest.h:41
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::WithPortfolioShareToken
DescribePortfolioShareStatusRequest & WithPortfolioShareToken(const char *value)
Definition: DescribePortfolioShareStatusRequest.h:83
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::SetPortfolioShareToken
void SetPortfolioShareToken(const Aws::String &value)
Definition: DescribePortfolioShareStatusRequest.h:53
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::DescribePortfolioShareStatusRequest
DescribePortfolioShareStatusRequest()
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest
Definition: DescribePortfolioShareStatusRequest.h:22
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::PortfolioShareTokenHasBeenSet
bool PortfolioShareTokenHasBeenSet() const
Definition: DescribePortfolioShareStatusRequest.h:47
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::SetPortfolioShareToken
void SetPortfolioShareToken(const char *value)
Definition: DescribePortfolioShareStatusRequest.h:65
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::WithPortfolioShareToken
DescribePortfolioShareStatusRequest & WithPortfolioShareToken(Aws::String &&value)
Definition: DescribePortfolioShareStatusRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::SetPortfolioShareToken
void SetPortfolioShareToken(Aws::String &&value)
Definition: DescribePortfolioShareStatusRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribePortfolioShareStatusRequest::WithPortfolioShareToken
DescribePortfolioShareStatusRequest & WithPortfolioShareToken(const Aws::String &value)
Definition: DescribePortfolioShareStatusRequest.h:71
ServiceCatalog_EXPORTS.h