AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeChapCredentialsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
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 "DescribeChapCredentials"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
46  inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
47 
53  inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
54 
60  inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; }
61 
67  inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); }
68 
74  inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); }
75 
81  inline DescribeChapCredentialsRequest& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
82 
88  inline DescribeChapCredentialsRequest& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
89 
95  inline DescribeChapCredentialsRequest& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
96 
97  private:
98 
99  Aws::String m_targetARN;
100  bool m_targetARNHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace StorageGateway
105 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::SetTargetARN
void SetTargetARN(const char *value)
Definition: DescribeChapCredentialsRequest.h:74
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeChapCredentialsRequest.h:34
Aws::StorageGateway::Model::DescribeChapCredentialsRequest
Definition: DescribeChapCredentialsRequest.h:26
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::WithTargetARN
DescribeChapCredentialsRequest & WithTargetARN(Aws::String &&value)
Definition: DescribeChapCredentialsRequest.h:88
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::TargetARNHasBeenSet
bool TargetARNHasBeenSet() const
Definition: DescribeChapCredentialsRequest.h:53
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::WithTargetARN
DescribeChapCredentialsRequest & WithTargetARN(const char *value)
Definition: DescribeChapCredentialsRequest.h:95
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::SetTargetARN
void SetTargetARN(const Aws::String &value)
Definition: DescribeChapCredentialsRequest.h:60
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::DescribeChapCredentialsRequest
DescribeChapCredentialsRequest()
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::SetTargetARN
void SetTargetARN(Aws::String &&value)
Definition: DescribeChapCredentialsRequest.h:67
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::WithTargetARN
DescribeChapCredentialsRequest & WithTargetARN(const Aws::String &value)
Definition: DescribeChapCredentialsRequest.h:81
Aws::StorageGateway::Model::DescribeChapCredentialsRequest::GetTargetARN
const Aws::String & GetTargetARN() const
Definition: DescribeChapCredentialsRequest.h:46