AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeHubRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace SecurityHub
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeHub"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetHubArn() const{ return m_hubArn; }
45 
49  inline bool HubArnHasBeenSet() const { return m_hubArnHasBeenSet; }
50 
54  inline void SetHubArn(const Aws::String& value) { m_hubArnHasBeenSet = true; m_hubArn = value; }
55 
59  inline void SetHubArn(Aws::String&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::move(value); }
60 
64  inline void SetHubArn(const char* value) { m_hubArnHasBeenSet = true; m_hubArn.assign(value); }
65 
69  inline DescribeHubRequest& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;}
70 
74  inline DescribeHubRequest& WithHubArn(Aws::String&& value) { SetHubArn(std::move(value)); return *this;}
75 
79  inline DescribeHubRequest& WithHubArn(const char* value) { SetHubArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_hubArn;
84  bool m_hubArnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SecurityHub
89 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SecurityHub::Model::DescribeHubRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::SecurityHub::Model::DescribeHubRequest::WithHubArn
DescribeHubRequest & WithHubArn(Aws::String &&value)
Definition: DescribeHubRequest.h:74
Aws::SecurityHub::Model::DescribeHubRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecurityHub::Model::DescribeHubRequest::WithHubArn
DescribeHubRequest & WithHubArn(const char *value)
Definition: DescribeHubRequest.h:79
Aws::SecurityHub::Model::DescribeHubRequest::SetHubArn
void SetHubArn(const char *value)
Definition: DescribeHubRequest.h:64
Aws::SecurityHub::Model::DescribeHubRequest::HubArnHasBeenSet
bool HubArnHasBeenSet() const
Definition: DescribeHubRequest.h:49
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::DescribeHubRequest::GetHubArn
const Aws::String & GetHubArn() const
Definition: DescribeHubRequest.h:44
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
AWSString.h
SecurityHubRequest.h
Aws::SecurityHub::Model::DescribeHubRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeHubRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::DescribeHubRequest::SetHubArn
void SetHubArn(const Aws::String &value)
Definition: DescribeHubRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::DescribeHubRequest::DescribeHubRequest
DescribeHubRequest()
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::DescribeHubRequest::SetHubArn
void SetHubArn(Aws::String &&value)
Definition: DescribeHubRequest.h:59
Aws::SecurityHub::Model::DescribeHubRequest
Definition: DescribeHubRequest.h:26
Aws::SecurityHub::Model::DescribeHubRequest::WithHubArn
DescribeHubRequest & WithHubArn(const Aws::String &value)
Definition: DescribeHubRequest.h:69