AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCertificateOptionsRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/acm/model/CertificateOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ACM
16{
17namespace 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_ACM_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
45 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
46 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
47 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
48 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
50 inline UpdateCertificateOptionsRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
51 inline UpdateCertificateOptionsRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
53
55
62 inline const CertificateOptions& GetOptions() const{ return m_options; }
63 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
64 inline void SetOptions(const CertificateOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
65 inline void SetOptions(CertificateOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
66 inline UpdateCertificateOptionsRequest& WithOptions(const CertificateOptions& value) { SetOptions(value); return *this;}
67 inline UpdateCertificateOptionsRequest& WithOptions(CertificateOptions&& value) { SetOptions(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_certificateArn;
72 bool m_certificateArnHasBeenSet = false;
73
74 CertificateOptions m_options;
75 bool m_optionsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ACM
80} // namespace Aws
UpdateCertificateOptionsRequest & WithCertificateArn(const Aws::String &value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateCertificateOptionsRequest & WithOptions(const CertificateOptions &value)
AWS_ACM_API Aws::String SerializePayload() const override
UpdateCertificateOptionsRequest & WithCertificateArn(const char *value)
UpdateCertificateOptionsRequest & WithOptions(CertificateOptions &&value)
UpdateCertificateOptionsRequest & WithCertificateArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String