AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
StartADAssessmentRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/model/AssessmentConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectoryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTORYSERVICE_API StartADAssessmentRequest() = default;
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 "StartADAssessment"; }
32
33 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const AssessmentConfiguration& GetAssessmentConfiguration() const { return m_assessmentConfiguration; }
45 inline bool AssessmentConfigurationHasBeenSet() const { return m_assessmentConfigurationHasBeenSet; }
46 template<typename AssessmentConfigurationT = AssessmentConfiguration>
47 void SetAssessmentConfiguration(AssessmentConfigurationT&& value) { m_assessmentConfigurationHasBeenSet = true; m_assessmentConfiguration = std::forward<AssessmentConfigurationT>(value); }
48 template<typename AssessmentConfigurationT = AssessmentConfiguration>
49 StartADAssessmentRequest& WithAssessmentConfiguration(AssessmentConfigurationT&& value) { SetAssessmentConfiguration(std::forward<AssessmentConfigurationT>(value)); return *this;}
51
53
58 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
59 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
60 template<typename DirectoryIdT = Aws::String>
61 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
62 template<typename DirectoryIdT = Aws::String>
63 StartADAssessmentRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
65 private:
66
67 AssessmentConfiguration m_assessmentConfiguration;
68 bool m_assessmentConfigurationHasBeenSet = false;
69
70 Aws::String m_directoryId;
71 bool m_directoryIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DirectoryService
76} // 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