AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWaveRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MGN_API CreateWaveRequest();
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 "CreateWave"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountID() const{ return m_accountID; }
41 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
42 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
43 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
44 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
45 inline CreateWaveRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
46 inline CreateWaveRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
47 inline CreateWaveRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline CreateWaveRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline CreateWaveRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline CreateWaveRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline CreateWaveRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline CreateWaveRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline CreateWaveRequest& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateWaveRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
87 inline CreateWaveRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateWaveRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89 inline CreateWaveRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreateWaveRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateWaveRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
92 inline CreateWaveRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateWaveRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline CreateWaveRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96 private:
97
98 Aws::String m_accountID;
99 bool m_accountIDHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace mgn
113} // namespace Aws
AWS_MGN_API Aws::String SerializePayload() const override
CreateWaveRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateWaveRequest & AddTags(const char *key, Aws::String &&value)
CreateWaveRequest & WithName(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetAccountID(const Aws::String &value)
CreateWaveRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWaveRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateWaveRequest & WithName(const char *value)
void SetDescription(const char *value)
void SetAccountID(const char *value)
const Aws::String & GetAccountID() const
CreateWaveRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateWaveRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWaveRequest & WithAccountID(const char *value)
CreateWaveRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
CreateWaveRequest & AddTags(const char *key, const char *value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
void SetAccountID(Aws::String &&value)
CreateWaveRequest & WithDescription(const Aws::String &value)
CreateWaveRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateWaveRequest & WithAccountID(const Aws::String &value)
CreateWaveRequest & WithDescription(Aws::String &&value)
CreateWaveRequest & WithName(Aws::String &&value)
CreateWaveRequest & WithAccountID(Aws::String &&value)
CreateWaveRequest & WithDescription(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String