AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StartADAssessmentRequest.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/AssessmentConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DirectoryService {
16namespace Model {
17
21 public:
22 AWS_DIRECTORYSERVICE_API StartADAssessmentRequest() = 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 "StartADAssessment"; }
29
30 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
40 inline const AssessmentConfiguration& GetAssessmentConfiguration() const { return m_assessmentConfiguration; }
41 inline bool AssessmentConfigurationHasBeenSet() const { return m_assessmentConfigurationHasBeenSet; }
42 template <typename AssessmentConfigurationT = AssessmentConfiguration>
43 void SetAssessmentConfiguration(AssessmentConfigurationT&& value) {
44 m_assessmentConfigurationHasBeenSet = true;
45 m_assessmentConfiguration = std::forward<AssessmentConfigurationT>(value);
46 }
47 template <typename AssessmentConfigurationT = AssessmentConfiguration>
48 StartADAssessmentRequest& WithAssessmentConfiguration(AssessmentConfigurationT&& value) {
49 SetAssessmentConfiguration(std::forward<AssessmentConfigurationT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
61 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
62 template <typename DirectoryIdT = Aws::String>
63 void SetDirectoryId(DirectoryIdT&& value) {
64 m_directoryIdHasBeenSet = true;
65 m_directoryId = std::forward<DirectoryIdT>(value);
66 }
67 template <typename DirectoryIdT = Aws::String>
69 SetDirectoryId(std::forward<DirectoryIdT>(value));
70 return *this;
71 }
73 private:
74 AssessmentConfiguration m_assessmentConfiguration;
75
76 Aws::String m_directoryId;
77 bool m_assessmentConfigurationHasBeenSet = false;
78 bool m_directoryIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DirectoryService
83} // namespace Aws
StartADAssessmentRequest & WithDirectoryId(DirectoryIdT &&value)
void SetAssessmentConfiguration(AssessmentConfigurationT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API StartADAssessmentRequest()=default
StartADAssessmentRequest & WithAssessmentConfiguration(AssessmentConfigurationT &&value)
const AssessmentConfiguration & GetAssessmentConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String