AWS SDK for C++  1.9.1
AWS SDK for C++
UpdateCertificateOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/acm/ACMRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ACM
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateCertificateOptions"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
44 
50  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
51 
57  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
58 
64  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
65 
71  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
72 
78  inline UpdateCertificateOptionsRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
79 
85  inline UpdateCertificateOptionsRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
86 
92  inline UpdateCertificateOptionsRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
93 
94 
102  inline const CertificateOptions& GetOptions() const{ return m_options; }
103 
111  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
112 
120  inline void SetOptions(const CertificateOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
121 
129  inline void SetOptions(CertificateOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
130 
138  inline UpdateCertificateOptionsRequest& WithOptions(const CertificateOptions& value) { SetOptions(value); return *this;}
139 
147  inline UpdateCertificateOptionsRequest& WithOptions(CertificateOptions&& value) { SetOptions(std::move(value)); return *this;}
148 
149  private:
150 
151  Aws::String m_certificateArn;
152  bool m_certificateArnHasBeenSet;
153 
154  CertificateOptions m_options;
155  bool m_optionsHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace ACM
160 } // namespace Aws
Aws::ACM::Model::UpdateCertificateOptionsRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: UpdateCertificateOptionsRequest.h:57
CertificateOptions.h
Aws::ACM::Model::CertificateOptions
Definition: CertificateOptions.h:40
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ACM::Model::UpdateCertificateOptionsRequest::SetOptions
void SetOptions(CertificateOptions &&value)
Definition: UpdateCertificateOptionsRequest.h:129
Aws::ACM::Model::UpdateCertificateOptionsRequest
Definition: UpdateCertificateOptionsRequest.h:23
Aws::ACM::Model::UpdateCertificateOptionsRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: UpdateCertificateOptionsRequest.h:71
Aws::ACM::Model::UpdateCertificateOptionsRequest::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: UpdateCertificateOptionsRequest.h:111
Aws::ACM::Model::UpdateCertificateOptionsRequest::UpdateCertificateOptionsRequest
UpdateCertificateOptionsRequest()
Aws::ACM::Model::UpdateCertificateOptionsRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: UpdateCertificateOptionsRequest.h:43
Aws::ACM::ACMRequest
Definition: ACMRequest.h:17
Aws::ACM::Model::UpdateCertificateOptionsRequest::GetOptions
const CertificateOptions & GetOptions() const
Definition: UpdateCertificateOptionsRequest.h:102
Aws::ACM::Model::UpdateCertificateOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateCertificateOptionsRequest.h:31
Aws::ACM::Model::UpdateCertificateOptionsRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: UpdateCertificateOptionsRequest.h:64
Aws::ACM::Model::UpdateCertificateOptionsRequest::WithCertificateArn
UpdateCertificateOptionsRequest & WithCertificateArn(Aws::String &&value)
Definition: UpdateCertificateOptionsRequest.h:85
Aws::ACM::Model::UpdateCertificateOptionsRequest::WithOptions
UpdateCertificateOptionsRequest & WithOptions(CertificateOptions &&value)
Definition: UpdateCertificateOptionsRequest.h:147
Aws::ACM::Model::UpdateCertificateOptionsRequest::WithCertificateArn
UpdateCertificateOptionsRequest & WithCertificateArn(const Aws::String &value)
Definition: UpdateCertificateOptionsRequest.h:78
Aws::ACM::Model::UpdateCertificateOptionsRequest::WithCertificateArn
UpdateCertificateOptionsRequest & WithCertificateArn(const char *value)
Definition: UpdateCertificateOptionsRequest.h:92
AWSString.h
Aws::ACM::Model::UpdateCertificateOptionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ACMRequest.h
Aws::ACM::Model::UpdateCertificateOptionsRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: UpdateCertificateOptionsRequest.h:50
ACM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::UpdateCertificateOptionsRequest::SetOptions
void SetOptions(const CertificateOptions &value)
Definition: UpdateCertificateOptionsRequest.h:120
Aws::ACM::Model::UpdateCertificateOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ACM::Model::UpdateCertificateOptionsRequest::WithOptions
UpdateCertificateOptionsRequest & WithOptions(const CertificateOptions &value)
Definition: UpdateCertificateOptionsRequest.h:138