AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartTestExecutionRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/TestExecutionTarget.h>
11#include <aws/lexv2-models/model/TestExecutionApiMode.h>
12#include <aws/lexv2-models/model/TestExecutionModality.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LexModelsV2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LEXMODELSV2_API StartTestExecutionRequest();
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 "StartTestExecution"; }
34
35 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetTestSetId() const{ return m_testSetId; }
43 inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; }
44 inline void SetTestSetId(const Aws::String& value) { m_testSetIdHasBeenSet = true; m_testSetId = value; }
45 inline void SetTestSetId(Aws::String&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::move(value); }
46 inline void SetTestSetId(const char* value) { m_testSetIdHasBeenSet = true; m_testSetId.assign(value); }
47 inline StartTestExecutionRequest& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;}
48 inline StartTestExecutionRequest& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;}
49 inline StartTestExecutionRequest& WithTestSetId(const char* value) { SetTestSetId(value); return *this;}
51
53
56 inline const TestExecutionTarget& GetTarget() const{ return m_target; }
57 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
58 inline void SetTarget(const TestExecutionTarget& value) { m_targetHasBeenSet = true; m_target = value; }
59 inline void SetTarget(TestExecutionTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
60 inline StartTestExecutionRequest& WithTarget(const TestExecutionTarget& value) { SetTarget(value); return *this;}
61 inline StartTestExecutionRequest& WithTarget(TestExecutionTarget&& value) { SetTarget(std::move(value)); return *this;}
63
65
71 inline const TestExecutionApiMode& GetApiMode() const{ return m_apiMode; }
72 inline bool ApiModeHasBeenSet() const { return m_apiModeHasBeenSet; }
73 inline void SetApiMode(const TestExecutionApiMode& value) { m_apiModeHasBeenSet = true; m_apiMode = value; }
74 inline void SetApiMode(TestExecutionApiMode&& value) { m_apiModeHasBeenSet = true; m_apiMode = std::move(value); }
75 inline StartTestExecutionRequest& WithApiMode(const TestExecutionApiMode& value) { SetApiMode(value); return *this;}
76 inline StartTestExecutionRequest& WithApiMode(TestExecutionApiMode&& value) { SetApiMode(std::move(value)); return *this;}
78
80
83 inline const TestExecutionModality& GetTestExecutionModality() const{ return m_testExecutionModality; }
84 inline bool TestExecutionModalityHasBeenSet() const { return m_testExecutionModalityHasBeenSet; }
85 inline void SetTestExecutionModality(const TestExecutionModality& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = value; }
86 inline void SetTestExecutionModality(TestExecutionModality&& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = std::move(value); }
90 private:
91
92 Aws::String m_testSetId;
93 bool m_testSetIdHasBeenSet = false;
94
95 TestExecutionTarget m_target;
96 bool m_targetHasBeenSet = false;
97
98 TestExecutionApiMode m_apiMode;
99 bool m_apiModeHasBeenSet = false;
100
101 TestExecutionModality m_testExecutionModality;
102 bool m_testExecutionModalityHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LexModelsV2
107} // namespace Aws
StartTestExecutionRequest & WithApiMode(TestExecutionApiMode &&value)
StartTestExecutionRequest & WithTarget(const TestExecutionTarget &value)
const TestExecutionModality & GetTestExecutionModality() const
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetTestExecutionModality(TestExecutionModality &&value)
StartTestExecutionRequest & WithTestSetId(const Aws::String &value)
void SetTestExecutionModality(const TestExecutionModality &value)
StartTestExecutionRequest & WithApiMode(const TestExecutionApiMode &value)
virtual const char * GetServiceRequestName() const override
StartTestExecutionRequest & WithTarget(TestExecutionTarget &&value)
StartTestExecutionRequest & WithTestExecutionModality(TestExecutionModality &&value)
StartTestExecutionRequest & WithTestSetId(const char *value)
StartTestExecutionRequest & WithTestExecutionModality(const TestExecutionModality &value)
StartTestExecutionRequest & WithTestSetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String