AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VpcEncryptionControlExclusion.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VpcEncryptionControlExclusionState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_EC2_API VpcEncryptionControlExclusion() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
37
39
40 inline VpcEncryptionControlExclusionState GetState() const { return m_state; }
41 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
42 inline void SetState(VpcEncryptionControlExclusionState value) { m_stateHasBeenSet = true; m_state = value; }
45
47
48 inline const Aws::String& GetStateMessage() const { return m_stateMessage; }
49 inline bool StateMessageHasBeenSet() const { return m_stateMessageHasBeenSet; }
50 template<typename StateMessageT = Aws::String>
51 void SetStateMessage(StateMessageT&& value) { m_stateMessageHasBeenSet = true; m_stateMessage = std::forward<StateMessageT>(value); }
52 template<typename StateMessageT = Aws::String>
53 VpcEncryptionControlExclusion& WithStateMessage(StateMessageT&& value) { SetStateMessage(std::forward<StateMessageT>(value)); return *this;}
55 private:
56
58 bool m_stateHasBeenSet = false;
59
60 Aws::String m_stateMessage;
61 bool m_stateMessageHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // 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