AWS SDK for C++  1.8.186
AWS SDK for C++
TagKeys.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::Vector<Aws::String>& GetItems() const{ return m_items; }
46 
50  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
51 
55  inline void SetItems(const Aws::Vector<Aws::String>& value) { m_itemsHasBeenSet = true; m_items = value; }
56 
60  inline void SetItems(Aws::Vector<Aws::String>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
61 
65  inline TagKeys& WithItems(const Aws::Vector<Aws::String>& value) { SetItems(value); return *this;}
66 
70  inline TagKeys& WithItems(Aws::Vector<Aws::String>&& value) { SetItems(std::move(value)); return *this;}
71 
75  inline TagKeys& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
76 
80  inline TagKeys& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
81 
85  inline TagKeys& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
86 
87  private:
88 
90  bool m_itemsHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace CloudFront
95 } // namespace Aws
Aws::CloudFront::Model::TagKeys::TagKeys
TagKeys(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::TagKeys::SetItems
void SetItems(Aws::Vector< Aws::String > &&value)
Definition: TagKeys.h:60
Aws::CloudFront::Model::TagKeys::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::TagKeys::AddItems
TagKeys & AddItems(const char *value)
Definition: TagKeys.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::CloudFront::Model::TagKeys::AddItems
TagKeys & AddItems(Aws::String &&value)
Definition: TagKeys.h:80
Aws::CloudFront::Model::TagKeys::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: TagKeys.h:50
Aws::CloudFront::Model::TagKeys
Definition: TagKeys.h:33
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::TagKeys::SetItems
void SetItems(const Aws::Vector< Aws::String > &value)
Definition: TagKeys.h:55
Aws::CloudFront::Model::TagKeys::TagKeys
TagKeys()
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::TagKeys::WithItems
TagKeys & WithItems(const Aws::Vector< Aws::String > &value)
Definition: TagKeys.h:65
Aws::CloudFront::Model::TagKeys::GetItems
const Aws::Vector< Aws::String > & GetItems() const
Definition: TagKeys.h:45
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::TagKeys::AddItems
TagKeys & AddItems(const Aws::String &value)
Definition: TagKeys.h:75
Aws::CloudFront::Model::TagKeys::operator=
TagKeys & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::TagKeys::WithItems
TagKeys & WithItems(Aws::Vector< Aws::String > &&value)
Definition: TagKeys.h:70