AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvideAnomalyFeedbackRequest.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ce/model/AnomalyFeedbackType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CostExplorer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COSTEXPLORER_API ProvideAnomalyFeedbackRequest();
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 "ProvideAnomalyFeedback"; }
32
33 AWS_COSTEXPLORER_API Aws::String SerializePayload() const override;
34
35 AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetAnomalyId() const{ return m_anomalyId; }
43 inline bool AnomalyIdHasBeenSet() const { return m_anomalyIdHasBeenSet; }
44 inline void SetAnomalyId(const Aws::String& value) { m_anomalyIdHasBeenSet = true; m_anomalyId = value; }
45 inline void SetAnomalyId(Aws::String&& value) { m_anomalyIdHasBeenSet = true; m_anomalyId = std::move(value); }
46 inline void SetAnomalyId(const char* value) { m_anomalyIdHasBeenSet = true; m_anomalyId.assign(value); }
47 inline ProvideAnomalyFeedbackRequest& WithAnomalyId(const Aws::String& value) { SetAnomalyId(value); return *this;}
48 inline ProvideAnomalyFeedbackRequest& WithAnomalyId(Aws::String&& value) { SetAnomalyId(std::move(value)); return *this;}
49 inline ProvideAnomalyFeedbackRequest& WithAnomalyId(const char* value) { SetAnomalyId(value); return *this;}
51
53
57 inline const AnomalyFeedbackType& GetFeedback() const{ return m_feedback; }
58 inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; }
59 inline void SetFeedback(const AnomalyFeedbackType& value) { m_feedbackHasBeenSet = true; m_feedback = value; }
60 inline void SetFeedback(AnomalyFeedbackType&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); }
61 inline ProvideAnomalyFeedbackRequest& WithFeedback(const AnomalyFeedbackType& value) { SetFeedback(value); return *this;}
62 inline ProvideAnomalyFeedbackRequest& WithFeedback(AnomalyFeedbackType&& value) { SetFeedback(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_anomalyId;
67 bool m_anomalyIdHasBeenSet = false;
68
69 AnomalyFeedbackType m_feedback;
70 bool m_feedbackHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CostExplorer
75} // namespace Aws
ProvideAnomalyFeedbackRequest & WithAnomalyId(Aws::String &&value)
ProvideAnomalyFeedbackRequest & WithFeedback(const AnomalyFeedbackType &value)
ProvideAnomalyFeedbackRequest & WithAnomalyId(const Aws::String &value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ProvideAnomalyFeedbackRequest & WithAnomalyId(const char *value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
ProvideAnomalyFeedbackRequest & WithFeedback(AnomalyFeedbackType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String