AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachLoadBalancerToSubnetsResult.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancing/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticLoadBalancing
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult();
41
42
44
47 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
48 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnets = value; }
49 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnets = std::move(value); }
51 inline AttachLoadBalancerToSubnetsResult& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
52 inline AttachLoadBalancerToSubnetsResult& AddSubnets(const Aws::String& value) { m_subnets.push_back(value); return *this; }
53 inline AttachLoadBalancerToSubnetsResult& AddSubnets(Aws::String&& value) { m_subnets.push_back(std::move(value)); return *this; }
54 inline AttachLoadBalancerToSubnetsResult& AddSubnets(const char* value) { m_subnets.push_back(value); return *this; }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
65 private:
66
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace ElasticLoadBalancing
74} // namespace Aws
AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AttachLoadBalancerToSubnetsResult & AddSubnets(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API AttachLoadBalancerToSubnetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AttachLoadBalancerToSubnetsResult & WithResponseMetadata(ResponseMetadata &&value)
AttachLoadBalancerToSubnetsResult & WithSubnets(const Aws::Vector< Aws::String > &value)
AttachLoadBalancerToSubnetsResult & WithResponseMetadata(const ResponseMetadata &value)
AttachLoadBalancerToSubnetsResult & WithSubnets(Aws::Vector< Aws::String > &&value)
AttachLoadBalancerToSubnetsResult & AddSubnets(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument