AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
VerifiedAccessSseSpecificationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
31 public:
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
44 inline bool GetCustomerManagedKeyEnabled() const { return m_customerManagedKeyEnabled; }
45 inline bool CustomerManagedKeyEnabledHasBeenSet() const { return m_customerManagedKeyEnabledHasBeenSet; }
46 inline void SetCustomerManagedKeyEnabled(bool value) {
47 m_customerManagedKeyEnabledHasBeenSet = true;
48 m_customerManagedKeyEnabled = value;
49 }
52 return *this;
53 }
55
57
60 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
61 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
62 template <typename KmsKeyArnT = Aws::String>
63 void SetKmsKeyArn(KmsKeyArnT&& value) {
64 m_kmsKeyArnHasBeenSet = true;
65 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
66 }
67 template <typename KmsKeyArnT = Aws::String>
69 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
70 return *this;
71 }
73 private:
74 bool m_customerManagedKeyEnabled{false};
75
76 Aws::String m_kmsKeyArn;
77 bool m_customerManagedKeyEnabledHasBeenSet = false;
78 bool m_kmsKeyArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace EC2
83} // namespace Aws
AWS_EC2_API VerifiedAccessSseSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API VerifiedAccessSseSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessSseSpecificationRequest & WithKmsKeyArn(KmsKeyArnT &&value)
VerifiedAccessSseSpecificationRequest & WithCustomerManagedKeyEnabled(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream