AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartResourceEvaluationRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/config/model/ResourceDetails.h>
10#include <aws/config/model/EvaluationContext.h>
11#include <aws/config/model/EvaluationMode.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConfigService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONFIGSERVICE_API StartResourceEvaluationRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartResourceEvaluation"; }
34
35 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const ResourceDetails& GetResourceDetails() const{ return m_resourceDetails; }
45 inline bool ResourceDetailsHasBeenSet() const { return m_resourceDetailsHasBeenSet; }
46 inline void SetResourceDetails(const ResourceDetails& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = value; }
47 inline void SetResourceDetails(ResourceDetails&& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = std::move(value); }
49 inline StartResourceEvaluationRequest& WithResourceDetails(ResourceDetails&& value) { SetResourceDetails(std::move(value)); return *this;}
51
53
56 inline const EvaluationContext& GetEvaluationContext() const{ return m_evaluationContext; }
57 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
58 inline void SetEvaluationContext(const EvaluationContext& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = value; }
59 inline void SetEvaluationContext(EvaluationContext&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::move(value); }
63
65
69 inline const EvaluationMode& GetEvaluationMode() const{ return m_evaluationMode; }
70 inline bool EvaluationModeHasBeenSet() const { return m_evaluationModeHasBeenSet; }
71 inline void SetEvaluationMode(const EvaluationMode& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = value; }
72 inline void SetEvaluationMode(EvaluationMode&& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = std::move(value); }
74 inline StartResourceEvaluationRequest& WithEvaluationMode(EvaluationMode&& value) { SetEvaluationMode(std::move(value)); return *this;}
76
78
82 inline int GetEvaluationTimeout() const{ return m_evaluationTimeout; }
83 inline bool EvaluationTimeoutHasBeenSet() const { return m_evaluationTimeoutHasBeenSet; }
84 inline void SetEvaluationTimeout(int value) { m_evaluationTimeoutHasBeenSet = true; m_evaluationTimeout = value; }
87
89
100 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
101 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
102 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
103 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
104 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
105 inline StartResourceEvaluationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
106 inline StartResourceEvaluationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
107 inline StartResourceEvaluationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
109 private:
110
111 ResourceDetails m_resourceDetails;
112 bool m_resourceDetailsHasBeenSet = false;
113
114 EvaluationContext m_evaluationContext;
115 bool m_evaluationContextHasBeenSet = false;
116
117 EvaluationMode m_evaluationMode;
118 bool m_evaluationModeHasBeenSet = false;
119
120 int m_evaluationTimeout;
121 bool m_evaluationTimeoutHasBeenSet = false;
122
123 Aws::String m_clientToken;
124 bool m_clientTokenHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace ConfigService
129} // namespace Aws
StartResourceEvaluationRequest & WithClientToken(const Aws::String &value)
StartResourceEvaluationRequest & WithEvaluationContext(EvaluationContext &&value)
StartResourceEvaluationRequest & WithEvaluationContext(const EvaluationContext &value)
StartResourceEvaluationRequest & WithClientToken(Aws::String &&value)
StartResourceEvaluationRequest & WithClientToken(const char *value)
StartResourceEvaluationRequest & WithResourceDetails(const ResourceDetails &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
StartResourceEvaluationRequest & WithEvaluationMode(EvaluationMode &&value)
StartResourceEvaluationRequest & WithResourceDetails(ResourceDetails &&value)
StartResourceEvaluationRequest & WithEvaluationMode(const EvaluationMode &value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String