AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnrollmentStatusRequest.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
9#include <aws/compute-optimizer/model/Status.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ComputeOptimizer
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_COMPUTEOPTIMIZER_API UpdateEnrollmentStatusRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnrollmentStatus"; }
31
32 AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override;
33
34 AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
53 inline const Status& GetStatus() const{ return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
56 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
57 inline UpdateEnrollmentStatusRequest& WithStatus(const Status& value) { SetStatus(value); return *this;}
58 inline UpdateEnrollmentStatusRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
60
62
66 inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; }
67 inline bool IncludeMemberAccountsHasBeenSet() const { return m_includeMemberAccountsHasBeenSet; }
68 inline void SetIncludeMemberAccounts(bool value) { m_includeMemberAccountsHasBeenSet = true; m_includeMemberAccounts = value; }
71 private:
72
73 Status m_status;
74 bool m_statusHasBeenSet = false;
75
76 bool m_includeMemberAccounts;
77 bool m_includeMemberAccountsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ComputeOptimizer
82} // namespace Aws
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEnrollmentStatusRequest & WithIncludeMemberAccounts(bool value)
UpdateEnrollmentStatusRequest & WithStatus(const Status &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String