AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProblemRequest.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/ApplicationInsightsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-insights/model/UpdateStatus.h>
11#include <aws/application-insights/model/Visibility.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationInsights
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONINSIGHTS_API UpdateProblemRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateProblem"; }
33
34 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetProblemId() const{ return m_problemId; }
44 inline bool ProblemIdHasBeenSet() const { return m_problemIdHasBeenSet; }
45 inline void SetProblemId(const Aws::String& value) { m_problemIdHasBeenSet = true; m_problemId = value; }
46 inline void SetProblemId(Aws::String&& value) { m_problemIdHasBeenSet = true; m_problemId = std::move(value); }
47 inline void SetProblemId(const char* value) { m_problemIdHasBeenSet = true; m_problemId.assign(value); }
48 inline UpdateProblemRequest& WithProblemId(const Aws::String& value) { SetProblemId(value); return *this;}
49 inline UpdateProblemRequest& WithProblemId(Aws::String&& value) { SetProblemId(std::move(value)); return *this;}
50 inline UpdateProblemRequest& WithProblemId(const char* value) { SetProblemId(value); return *this;}
52
54
58 inline const UpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
59 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
60 inline void SetUpdateStatus(const UpdateStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
61 inline void SetUpdateStatus(UpdateStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
62 inline UpdateProblemRequest& WithUpdateStatus(const UpdateStatus& value) { SetUpdateStatus(value); return *this;}
63 inline UpdateProblemRequest& WithUpdateStatus(UpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
65
67
73 inline const Visibility& GetVisibility() const{ return m_visibility; }
74 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
75 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
76 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
77 inline UpdateProblemRequest& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
78 inline UpdateProblemRequest& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_problemId;
83 bool m_problemIdHasBeenSet = false;
84
85 UpdateStatus m_updateStatus;
86 bool m_updateStatusHasBeenSet = false;
87
88 Visibility m_visibility;
89 bool m_visibilityHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ApplicationInsights
94} // namespace Aws
AWS_APPLICATIONINSIGHTS_API UpdateProblemRequest()
UpdateProblemRequest & WithVisibility(const Visibility &value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
UpdateProblemRequest & WithProblemId(Aws::String &&value)
UpdateProblemRequest & WithProblemId(const Aws::String &value)
UpdateProblemRequest & WithUpdateStatus(UpdateStatus &&value)
UpdateProblemRequest & WithUpdateStatus(const UpdateStatus &value)
virtual const char * GetServiceRequestName() const override
UpdateProblemRequest & WithVisibility(Visibility &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProblemRequest & WithProblemId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String