AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTemplateActionsRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/model/TemplateActionsRequestFilters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
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 "ListTemplateActions"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const TemplateActionsRequestFilters& GetFilters() const{ return m_filters; }
41 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
42 inline void SetFilters(const TemplateActionsRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
43 inline void SetFilters(TemplateActionsRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
45 inline ListTemplateActionsRequest& WithFilters(TemplateActionsRequestFilters&& value) { SetFilters(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; }
53 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
54 inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; }
55 inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); }
56 inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); }
61
63
67 inline int GetMaxResults() const{ return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
70 inline ListTemplateActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72
74
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 inline ListTemplateActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
83 inline ListTemplateActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline ListTemplateActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86 private:
87
89 bool m_filtersHasBeenSet = false;
90
91 Aws::String m_launchConfigurationTemplateID;
92 bool m_launchConfigurationTemplateIDHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace mgn
103} // namespace Aws
ListTemplateActionsRequest & WithLaunchConfigurationTemplateID(Aws::String &&value)
ListTemplateActionsRequest & WithNextToken(Aws::String &&value)
ListTemplateActionsRequest & WithMaxResults(int value)
AWS_MGN_API Aws::String SerializePayload() const override
ListTemplateActionsRequest & WithFilters(TemplateActionsRequestFilters &&value)
const TemplateActionsRequestFilters & GetFilters() const
void SetFilters(TemplateActionsRequestFilters &&value)
void SetFilters(const TemplateActionsRequestFilters &value)
virtual const char * GetServiceRequestName() const override
void SetLaunchConfigurationTemplateID(const Aws::String &value)
ListTemplateActionsRequest & WithLaunchConfigurationTemplateID(const char *value)
ListTemplateActionsRequest & WithLaunchConfigurationTemplateID(const Aws::String &value)
ListTemplateActionsRequest & WithNextToken(const char *value)
ListTemplateActionsRequest & WithNextToken(const Aws::String &value)
ListTemplateActionsRequest & WithFilters(const TemplateActionsRequestFilters &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String