AWS SDK for C++  1.9.66
AWS SDK for C++
DeregisterInstanceTagAttributeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline bool GetIncludeAllTagsOfInstance() const{ return m_includeAllTagsOfInstance; }
51 
56  inline bool IncludeAllTagsOfInstanceHasBeenSet() const { return m_includeAllTagsOfInstanceHasBeenSet; }
57 
62  inline void SetIncludeAllTagsOfInstance(bool value) { m_includeAllTagsOfInstanceHasBeenSet = true; m_includeAllTagsOfInstance = value; }
63 
68  inline DeregisterInstanceTagAttributeRequest& WithIncludeAllTagsOfInstance(bool value) { SetIncludeAllTagsOfInstance(value); return *this;}
69 
70 
74  inline const Aws::Vector<Aws::String>& GetInstanceTagKeys() const{ return m_instanceTagKeys; }
75 
79  inline bool InstanceTagKeysHasBeenSet() const { return m_instanceTagKeysHasBeenSet; }
80 
84  inline void SetInstanceTagKeys(const Aws::Vector<Aws::String>& value) { m_instanceTagKeysHasBeenSet = true; m_instanceTagKeys = value; }
85 
89  inline void SetInstanceTagKeys(Aws::Vector<Aws::String>&& value) { m_instanceTagKeysHasBeenSet = true; m_instanceTagKeys = std::move(value); }
90 
94  inline DeregisterInstanceTagAttributeRequest& WithInstanceTagKeys(const Aws::Vector<Aws::String>& value) { SetInstanceTagKeys(value); return *this;}
95 
99  inline DeregisterInstanceTagAttributeRequest& WithInstanceTagKeys(Aws::Vector<Aws::String>&& value) { SetInstanceTagKeys(std::move(value)); return *this;}
100 
104  inline DeregisterInstanceTagAttributeRequest& AddInstanceTagKeys(const Aws::String& value) { m_instanceTagKeysHasBeenSet = true; m_instanceTagKeys.push_back(value); return *this; }
105 
109  inline DeregisterInstanceTagAttributeRequest& AddInstanceTagKeys(Aws::String&& value) { m_instanceTagKeysHasBeenSet = true; m_instanceTagKeys.push_back(std::move(value)); return *this; }
110 
114  inline DeregisterInstanceTagAttributeRequest& AddInstanceTagKeys(const char* value) { m_instanceTagKeysHasBeenSet = true; m_instanceTagKeys.push_back(value); return *this; }
115 
116  private:
117 
118  bool m_includeAllTagsOfInstance;
119  bool m_includeAllTagsOfInstanceHasBeenSet;
120 
121  Aws::Vector<Aws::String> m_instanceTagKeys;
122  bool m_instanceTagKeysHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace EC2
127 } // namespace Aws
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest
Definition: DeregisterInstanceTagAttributeRequest.h:36
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::SetInstanceTagKeys
void SetInstanceTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeregisterInstanceTagAttributeRequest.h:84
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::AddInstanceTagKeys
DeregisterInstanceTagAttributeRequest & AddInstanceTagKeys(Aws::String &&value)
Definition: DeregisterInstanceTagAttributeRequest.h:109
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::SetIncludeAllTagsOfInstance
void SetIncludeAllTagsOfInstance(bool value)
Definition: DeregisterInstanceTagAttributeRequest.h:62
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::AddInstanceTagKeys
DeregisterInstanceTagAttributeRequest & AddInstanceTagKeys(const Aws::String &value)
Definition: DeregisterInstanceTagAttributeRequest.h:104
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::WithInstanceTagKeys
DeregisterInstanceTagAttributeRequest & WithInstanceTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DeregisterInstanceTagAttributeRequest.h:94
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::WithIncludeAllTagsOfInstance
DeregisterInstanceTagAttributeRequest & WithIncludeAllTagsOfInstance(bool value)
Definition: DeregisterInstanceTagAttributeRequest.h:68
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::WithInstanceTagKeys
DeregisterInstanceTagAttributeRequest & WithInstanceTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeregisterInstanceTagAttributeRequest.h:99
AWSVector.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::DeregisterInstanceTagAttributeRequest
DeregisterInstanceTagAttributeRequest()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::AddInstanceTagKeys
DeregisterInstanceTagAttributeRequest & AddInstanceTagKeys(const char *value)
Definition: DeregisterInstanceTagAttributeRequest.h:114
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::GetIncludeAllTagsOfInstance
bool GetIncludeAllTagsOfInstance() const
Definition: DeregisterInstanceTagAttributeRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::SetInstanceTagKeys
void SetInstanceTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DeregisterInstanceTagAttributeRequest.h:89
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::DeregisterInstanceTagAttributeRequest
DeregisterInstanceTagAttributeRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::GetInstanceTagKeys
const Aws::Vector< Aws::String > & GetInstanceTagKeys() const
Definition: DeregisterInstanceTagAttributeRequest.h:74
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::operator=
DeregisterInstanceTagAttributeRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EC2_EXPORTS.h
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::IncludeAllTagsOfInstanceHasBeenSet
bool IncludeAllTagsOfInstanceHasBeenSet() const
Definition: DeregisterInstanceTagAttributeRequest.h:56
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest::InstanceTagKeysHasBeenSet
bool InstanceTagKeysHasBeenSet() const
Definition: DeregisterInstanceTagAttributeRequest.h:79