AWS SDK for C++  1.9.123
AWS SDK for C++
DescribePublisherRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFormation
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 "DescribePublisher"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
45  inline const Aws::String& GetPublisherId() const{ return m_publisherId; }
46 
53  inline bool PublisherIdHasBeenSet() const { return m_publisherIdHasBeenSet; }
54 
61  inline void SetPublisherId(const Aws::String& value) { m_publisherIdHasBeenSet = true; m_publisherId = value; }
62 
69  inline void SetPublisherId(Aws::String&& value) { m_publisherIdHasBeenSet = true; m_publisherId = std::move(value); }
70 
77  inline void SetPublisherId(const char* value) { m_publisherIdHasBeenSet = true; m_publisherId.assign(value); }
78 
85  inline DescribePublisherRequest& WithPublisherId(const Aws::String& value) { SetPublisherId(value); return *this;}
86 
93  inline DescribePublisherRequest& WithPublisherId(Aws::String&& value) { SetPublisherId(std::move(value)); return *this;}
94 
101  inline DescribePublisherRequest& WithPublisherId(const char* value) { SetPublisherId(value); return *this;}
102 
103  private:
104 
105  Aws::String m_publisherId;
106  bool m_publisherIdHasBeenSet;
107  };
108 
109 } // namespace Model
110 } // namespace CloudFormation
111 } // namespace Aws
Aws::CloudFormation::Model::DescribePublisherRequest::SetPublisherId
void SetPublisherId(Aws::String &&value)
Definition: DescribePublisherRequest.h:69
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::DescribePublisherRequest::WithPublisherId
DescribePublisherRequest & WithPublisherId(const Aws::String &value)
Definition: DescribePublisherRequest.h:85
Aws::CloudFormation::Model::DescribePublisherRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePublisherRequest.h:30
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::DescribePublisherRequest::SetPublisherId
void SetPublisherId(const Aws::String &value)
Definition: DescribePublisherRequest.h:61
Aws::CloudFormation::Model::DescribePublisherRequest
Definition: DescribePublisherRequest.h:22
CloudFormationRequest.h
Aws::CloudFormation::Model::DescribePublisherRequest::PublisherIdHasBeenSet
bool PublisherIdHasBeenSet() const
Definition: DescribePublisherRequest.h:53
Aws::CloudFormation::Model::DescribePublisherRequest::DescribePublisherRequest
DescribePublisherRequest()
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::DescribePublisherRequest::GetPublisherId
const Aws::String & GetPublisherId() const
Definition: DescribePublisherRequest.h:45
AWSString.h
Aws::CloudFormation::Model::DescribePublisherRequest::SetPublisherId
void SetPublisherId(const char *value)
Definition: DescribePublisherRequest.h:77
Aws::CloudFormation::Model::DescribePublisherRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::CloudFormation::Model::DescribePublisherRequest::WithPublisherId
DescribePublisherRequest & WithPublisherId(const char *value)
Definition: DescribePublisherRequest.h:101
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::DescribePublisherRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFormation::Model::DescribePublisherRequest::WithPublisherId
DescribePublisherRequest & WithPublisherId(Aws::String &&value)
Definition: DescribePublisherRequest.h:93