AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeSettingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/DirectoryConfigurationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DirectoryService {
16namespace Model {
17
21 public:
22 AWS_DIRECTORYSERVICE_API DescribeSettingsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeSettings"; }
29
30 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
39 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
40 template <typename DirectoryIdT = Aws::String>
41 void SetDirectoryId(DirectoryIdT&& value) {
42 m_directoryIdHasBeenSet = true;
43 m_directoryId = std::forward<DirectoryIdT>(value);
44 }
45 template <typename DirectoryIdT = Aws::String>
47 SetDirectoryId(std::forward<DirectoryIdT>(value));
48 return *this;
49 }
51
53
56 inline DirectoryConfigurationStatus GetStatus() const { return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 m_statusHasBeenSet = true;
60 m_status = value;
61 }
63 SetStatus(value);
64 return *this;
65 }
67
69
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 template <typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) {
77 m_nextTokenHasBeenSet = true;
78 m_nextToken = std::forward<NextTokenT>(value);
79 }
80 template <typename NextTokenT = Aws::String>
82 SetNextToken(std::forward<NextTokenT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_directoryId;
88
90
91 Aws::String m_nextToken;
92 bool m_directoryIdHasBeenSet = false;
93 bool m_statusHasBeenSet = false;
94 bool m_nextTokenHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DirectoryService
99} // namespace Aws
DescribeSettingsRequest & WithDirectoryId(DirectoryIdT &&value)
DescribeSettingsRequest & WithNextToken(NextTokenT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeSettingsRequest & WithStatus(DirectoryConfigurationStatus value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API DescribeSettingsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String