AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcEncryptionControlExclusion.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#include <aws/ec2/model/VpcEncryptionControlExclusionState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace EC2 {
21namespace Model {
22
33 public:
34 AWS_EC2_API VpcEncryptionControlExclusion() = default;
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
45 inline VpcEncryptionControlExclusionState GetState() const { return m_state; }
46 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
48 m_stateHasBeenSet = true;
49 m_state = value;
50 }
52 SetState(value);
53 return *this;
54 }
56
58
61 inline const Aws::String& GetStateMessage() const { return m_stateMessage; }
62 inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
63 template <typename StateMessageT = Aws::String>
64 void SetStateMessage(StateMessageT&& value) {
65 m_stateMessageHasBeenSet = true;
66 m_stateMessage = std::forward<StateMessageT>(value);
67 }
68 template <typename StateMessageT = Aws::String>
70 SetStateMessage(std::forward<StateMessageT>(value));
71 return *this;
72 }
74 private:
76
77 Aws::String m_stateMessage;
78 bool m_stateHasBeenSet = false;
79 bool m_stateMessageHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEncryptionControlExclusionState GetState() const
VpcEncryptionControlExclusion & WithState(VpcEncryptionControlExclusionState value)
void SetState(VpcEncryptionControlExclusionState value)
AWS_EC2_API VpcEncryptionControlExclusion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API VpcEncryptionControlExclusion(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEncryptionControlExclusion & WithStateMessage(StateMessageT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream