AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ThroughResourcesStatement.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/ResourceStatement.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
28 public:
29 AWS_EC2_API ThroughResourcesStatement() = default;
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const ResourceStatement& GetResourceStatement() const { return m_resourceStatement; }
41 inline bool ResourceStatementHasBeenSet() const { return m_resourceStatementHasBeenSet; }
42 template <typename ResourceStatementT = ResourceStatement>
43 void SetResourceStatement(ResourceStatementT&& value) {
44 m_resourceStatementHasBeenSet = true;
45 m_resourceStatement = std::forward<ResourceStatementT>(value);
46 }
47 template <typename ResourceStatementT = ResourceStatement>
48 ThroughResourcesStatement& WithResourceStatement(ResourceStatementT&& value) {
49 SetResourceStatement(std::forward<ResourceStatementT>(value));
50 return *this;
51 }
53 private:
54 ResourceStatement m_resourceStatement;
55 bool m_resourceStatementHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace EC2
60} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ThroughResourcesStatement()=default
AWS_EC2_API ThroughResourcesStatement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ThroughResourcesStatement & WithResourceStatement(ResourceStatementT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ResourceStatement & GetResourceStatement() const
AWS_EC2_API ThroughResourcesStatement(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceStatement(ResourceStatementT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream