AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefixListId.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
32 {
33 public:
34 AWS_EC2_API PrefixListId();
35 AWS_EC2_API PrefixListId(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_EC2_API PrefixListId& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
41
43
48 inline const Aws::String& GetDescription() const{ return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline PrefixListId& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline PrefixListId& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline PrefixListId& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
62 inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; }
63 inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; }
64 inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; }
65 inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); }
66 inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); }
67 inline PrefixListId& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;}
68 inline PrefixListId& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;}
69 inline PrefixListId& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;}
71 private:
72
73 Aws::String m_description;
74 bool m_descriptionHasBeenSet = false;
75
76 Aws::String m_prefixListId;
77 bool m_prefixListIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
PrefixListId & WithPrefixListId(Aws::String &&value)
void SetDescription(Aws::String &&value)
AWS_EC2_API PrefixListId & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDescription() const
PrefixListId & WithPrefixListId(const Aws::String &value)
PrefixListId & WithDescription(const Aws::String &value)
void SetPrefixListId(const Aws::String &value)
PrefixListId & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetPrefixListId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(const char *value)
void SetPrefixListId(Aws::String &&value)
const Aws::String & GetPrefixListId() const
AWS_EC2_API PrefixListId(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PrefixListId & WithDescription(const char *value)
PrefixListId & WithPrefixListId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream