AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAnswerRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WellArchitected
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_WELLARCHITECTED_API GetAnswerRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetAnswer"; }
38
39 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
40
41 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
46 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
47 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
48 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
49 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
50 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
51 inline GetAnswerRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
52 inline GetAnswerRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
53 inline GetAnswerRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
55
57
58 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
59 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
60 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
61 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
62 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
63 inline GetAnswerRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
64 inline GetAnswerRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
65 inline GetAnswerRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
67
69
70 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
71 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
72 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
73 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
74 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
75 inline GetAnswerRequest& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
76 inline GetAnswerRequest& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
77 inline GetAnswerRequest& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
79
81
82 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
83 inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
84 inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
85 inline GetAnswerRequest& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
87 private:
88
89 Aws::String m_workloadId;
90 bool m_workloadIdHasBeenSet = false;
91
92 Aws::String m_lensAlias;
93 bool m_lensAliasHasBeenSet = false;
94
95 Aws::String m_questionId;
96 bool m_questionIdHasBeenSet = false;
97
98 int m_milestoneNumber;
99 bool m_milestoneNumberHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace WellArchitected
104} // namespace Aws
void SetLensAlias(const Aws::String &value)
GetAnswerRequest & WithWorkloadId(const char *value)
GetAnswerRequest & WithQuestionId(Aws::String &&value)
void SetQuestionId(const Aws::String &value)
void SetWorkloadId(const Aws::String &value)
GetAnswerRequest & WithLensAlias(const char *value)
AWS_WELLARCHITECTED_API GetAnswerRequest()
GetAnswerRequest & WithWorkloadId(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
GetAnswerRequest & WithMilestoneNumber(int value)
GetAnswerRequest & WithLensAlias(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetAnswerRequest & WithLensAlias(Aws::String &&value)
GetAnswerRequest & WithQuestionId(const char *value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAnswerRequest & WithQuestionId(const Aws::String &value)
GetAnswerRequest & WithWorkloadId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String