AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CostTrackingConfiguration.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppMonetization {
20namespace Model {
21
29 public:
30 AWS_APPMONETIZATION_API CostTrackingConfiguration() = default;
31 AWS_APPMONETIZATION_API CostTrackingConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
49 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
50 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
51 template <typename RoleArnT = Aws::String>
52 void SetRoleArn(RoleArnT&& value) {
53 m_roleArnHasBeenSet = true;
54 m_roleArn = std::forward<RoleArnT>(value);
55 }
56 template <typename RoleArnT = Aws::String>
58 SetRoleArn(std::forward<RoleArnT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_roleArn;
64 bool m_roleArnHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace AppMonetization
69} // namespace Aws
CostTrackingConfiguration & WithRoleArn(RoleArnT &&value)
AWS_APPMONETIZATION_API CostTrackingConfiguration()=default
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMONETIZATION_API CostTrackingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API CostTrackingConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue