AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBillingViewResult.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Billing
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BILLING_API UpdateBillingViewResult() = default;
34
35
37
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 UpdateBillingViewResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
53 template<typename UpdatedAtT = Aws::Utils::DateTime>
54 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
55 template<typename UpdatedAtT = Aws::Utils::DateTime>
56 UpdateBillingViewResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 UpdateBillingViewResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_arn;
70 bool m_arnHasBeenSet = false;
71
72 Aws::Utils::DateTime m_updatedAt{};
73 bool m_updatedAtHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Billing
81} // namespace Aws
UpdateBillingViewResult & WithRequestId(RequestIdT &&value)
UpdateBillingViewResult & WithArn(ArnT &&value)
AWS_BILLING_API UpdateBillingViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BILLING_API UpdateBillingViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBillingViewResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_BILLING_API UpdateBillingViewResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue