AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSourceServersRequest.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/mgn/model/DescribeSourceServersRequestFilters.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 "DescribeSourceServers"; }
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 DescribeSourceServersRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
46 inline DescribeSourceServersRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
47 inline DescribeSourceServersRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;}
49
51
54 inline const DescribeSourceServersRequestFilters& GetFilters() const{ return m_filters; }
55 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
56 inline void SetFilters(const DescribeSourceServersRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
57 inline void SetFilters(DescribeSourceServersRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
61
63
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline DescribeSourceServersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline DescribeSourceServersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline DescribeSourceServersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline DescribeSourceServersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::String m_accountID;
88 bool m_accountIDHasBeenSet = false;
89
91 bool m_filtersHasBeenSet = false;
92
93 int m_maxResults;
94 bool m_maxResultsHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace mgn
102} // namespace Aws
DescribeSourceServersRequest & WithFilters(DescribeSourceServersRequestFilters &&value)
void SetFilters(const DescribeSourceServersRequestFilters &value)
virtual const char * GetServiceRequestName() const override
DescribeSourceServersRequest & WithAccountID(Aws::String &&value)
DescribeSourceServersRequest & WithNextToken(Aws::String &&value)
void SetFilters(DescribeSourceServersRequestFilters &&value)
AWS_MGN_API Aws::String SerializePayload() const override
const DescribeSourceServersRequestFilters & GetFilters() const
DescribeSourceServersRequest & WithAccountID(const Aws::String &value)
DescribeSourceServersRequest & WithNextToken(const char *value)
DescribeSourceServersRequest & WithNextToken(const Aws::String &value)
DescribeSourceServersRequest & WithFilters(const DescribeSourceServersRequestFilters &value)
DescribeSourceServersRequest & WithAccountID(const char *value)
DescribeSourceServersRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String