AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefixListAssociation.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API PrefixListAssociation();
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
48 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
49 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
50 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
51 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
52 inline PrefixListAssociation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
53 inline PrefixListAssociation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
54 inline PrefixListAssociation& WithResourceId(const char* value) { SetResourceId(value); return *this;}
56
58
61 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
62 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
63 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
64 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
65 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
66 inline PrefixListAssociation& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
67 inline PrefixListAssociation& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
68 inline PrefixListAssociation& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
70 private:
71
72 Aws::String m_resourceId;
73 bool m_resourceIdHasBeenSet = false;
74
75 Aws::String m_resourceOwner;
76 bool m_resourceOwnerHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
const Aws::String & GetResourceOwner() const
PrefixListAssociation & WithResourceId(Aws::String &&value)
AWS_EC2_API PrefixListAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PrefixListAssociation & WithResourceId(const char *value)
PrefixListAssociation & WithResourceOwner(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PrefixListAssociation & WithResourceId(const Aws::String &value)
void SetResourceOwner(const Aws::String &value)
AWS_EC2_API PrefixListAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceId(const Aws::String &value)
PrefixListAssociation & WithResourceOwner(const Aws::String &value)
PrefixListAssociation & WithResourceOwner(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream