AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubnetGroupRequest.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/dax/DAXRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DAX
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSubnetGroup"; }
32
33 AWS_DAX_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; }
43 inline bool SubnetGroupNameHasBeenSet() const { return m_subnetGroupNameHasBeenSet; }
44 inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = value; }
45 inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::move(value); }
46 inline void SetSubnetGroupName(const char* value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName.assign(value); }
47 inline UpdateSubnetGroupRequest& WithSubnetGroupName(const Aws::String& value) { SetSubnetGroupName(value); return *this;}
48 inline UpdateSubnetGroupRequest& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
49 inline UpdateSubnetGroupRequest& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateSubnetGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateSubnetGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateSubnetGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
71 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
72 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
73 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
74 inline UpdateSubnetGroupRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
75 inline UpdateSubnetGroupRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
76 inline UpdateSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
77 inline UpdateSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
78 inline UpdateSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
80 private:
81
82 Aws::String m_subnetGroupName;
83 bool m_subnetGroupNameHasBeenSet = false;
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_subnetIds;
89 bool m_subnetIdsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DAX
94} // namespace Aws
UpdateSubnetGroupRequest & WithSubnetGroupName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
UpdateSubnetGroupRequest & AddSubnetIds(const char *value)
UpdateSubnetGroupRequest & WithDescription(Aws::String &&value)
UpdateSubnetGroupRequest & WithSubnetGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSubnetGroupName(const Aws::String &value)
UpdateSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
UpdateSubnetGroupRequest & WithDescription(const char *value)
UpdateSubnetGroupRequest & WithDescription(const Aws::String &value)
UpdateSubnetGroupRequest & WithSubnetGroupName(const Aws::String &value)
AWS_DAX_API Aws::String SerializePayload() const override
UpdateSubnetGroupRequest & AddSubnetIds(Aws::String &&value)
UpdateSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector