AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeHapgRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudHSM
15 {
16 namespace Model
17 {
18 
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 "DescribeHapg"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetHapgArn() const{ return m_hapgArn; }
45 
49  inline bool HapgArnHasBeenSet() const { return m_hapgArnHasBeenSet; }
50 
54  inline void SetHapgArn(const Aws::String& value) { m_hapgArnHasBeenSet = true; m_hapgArn = value; }
55 
59  inline void SetHapgArn(Aws::String&& value) { m_hapgArnHasBeenSet = true; m_hapgArn = std::move(value); }
60 
64  inline void SetHapgArn(const char* value) { m_hapgArnHasBeenSet = true; m_hapgArn.assign(value); }
65 
69  inline DescribeHapgRequest& WithHapgArn(const Aws::String& value) { SetHapgArn(value); return *this;}
70 
74  inline DescribeHapgRequest& WithHapgArn(Aws::String&& value) { SetHapgArn(std::move(value)); return *this;}
75 
79  inline DescribeHapgRequest& WithHapgArn(const char* value) { SetHapgArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_hapgArn;
84  bool m_hapgArnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace CloudHSM
89 } // namespace Aws
CloudHSM_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CloudHSM::Model::DescribeHapgRequest::HapgArnHasBeenSet
bool HapgArnHasBeenSet() const
Definition: DescribeHapgRequest.h:49
AWS_CLOUDHSM_API
#define AWS_CLOUDHSM_API
Definition: CloudHSM_EXPORTS.h:28
Aws::CloudHSM::Model::DescribeHapgRequest
Definition: DescribeHapgRequest.h:26
Aws::CloudHSM::Model::DescribeHapgRequest::WithHapgArn
DescribeHapgRequest & WithHapgArn(Aws::String &&value)
Definition: DescribeHapgRequest.h:74
Aws::CloudHSM::Model::DescribeHapgRequest::WithHapgArn
DescribeHapgRequest & WithHapgArn(const char *value)
Definition: DescribeHapgRequest.h:79
Aws::CloudHSM::CloudHSMRequest
Definition: CloudHSMRequest.h:17
Aws::CloudHSM::Model::DescribeHapgRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
CloudHSMRequest.h
Aws::CloudHSM::Model::DescribeHapgRequest::SetHapgArn
void SetHapgArn(const char *value)
Definition: DescribeHapgRequest.h:64
Aws::CloudHSM::Model::DescribeHapgRequest::WithHapgArn
DescribeHapgRequest & WithHapgArn(const Aws::String &value)
Definition: DescribeHapgRequest.h:69
Aws::CloudHSM::Model::DescribeHapgRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CloudHSM::Model::DescribeHapgRequest::SetHapgArn
void SetHapgArn(const Aws::String &value)
Definition: DescribeHapgRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::CloudHSM::Model::DescribeHapgRequest::DescribeHapgRequest
DescribeHapgRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudHSM::Model::DescribeHapgRequest::GetHapgArn
const Aws::String & GetHapgArn() const
Definition: DescribeHapgRequest.h:44
Aws::CloudHSM::Model::DescribeHapgRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeHapgRequest.h:34
Aws::CloudHSM::Model::DescribeHapgRequest::SetHapgArn
void SetHapgArn(Aws::String &&value)
Definition: DescribeHapgRequest.h:59