AWS SDK for C++  1.9.158
AWS SDK for C++
DisassociateCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaConvert
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 "DisassociateCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
45  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 
51  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 
57  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 
63  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 
69  inline DisassociateCertificateRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
75  inline DisassociateCertificateRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
81  inline DisassociateCertificateRequest& WithArn(const char* value) { SetArn(value); return *this;}
82 
83  private:
84 
85  Aws::String m_arn;
86  bool m_arnHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace MediaConvert
91 } // namespace Aws
Aws::MediaConvert::Model::DisassociateCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateCertificateRequest.h:30
MediaConvertRequest.h
Aws::MediaConvert::Model::DisassociateCertificateRequest::WithArn
DisassociateCertificateRequest & WithArn(const char *value)
Definition: DisassociateCertificateRequest.h:81
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::DisassociateCertificateRequest::DisassociateCertificateRequest
DisassociateCertificateRequest()
Aws::MediaConvert::Model::DisassociateCertificateRequest
Definition: DisassociateCertificateRequest.h:22
Aws::MediaConvert::Model::DisassociateCertificateRequest::WithArn
DisassociateCertificateRequest & WithArn(Aws::String &&value)
Definition: DisassociateCertificateRequest.h:75
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::DisassociateCertificateRequest::GetArn
const Aws::String & GetArn() const
Definition: DisassociateCertificateRequest.h:39
AWSString.h
Aws::MediaConvert::Model::DisassociateCertificateRequest::WithArn
DisassociateCertificateRequest & WithArn(const Aws::String &value)
Definition: DisassociateCertificateRequest.h:69
Aws::MediaConvert::Model::DisassociateCertificateRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DisassociateCertificateRequest.h:45
Aws::MediaConvert::Model::DisassociateCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::DisassociateCertificateRequest::SetArn
void SetArn(const Aws::String &value)
Definition: DisassociateCertificateRequest.h:51
Aws::MediaConvert::Model::DisassociateCertificateRequest::SetArn
void SetArn(const char *value)
Definition: DisassociateCertificateRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::DisassociateCertificateRequest::SetArn
void SetArn(Aws::String &&value)
Definition: DisassociateCertificateRequest.h:57