AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricPolicyRule.h
1
6#pragma once
7#include <aws/mediastore/MediaStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaStore
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_MEDIASTORE_API MetricPolicyRule();
41 AWS_MEDIASTORE_API MetricPolicyRule(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIASTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetObjectGroup() const{ return m_objectGroup; }
52 inline bool ObjectGroupHasBeenSet() const { return m_objectGroupHasBeenSet; }
53 inline void SetObjectGroup(const Aws::String& value) { m_objectGroupHasBeenSet = true; m_objectGroup = value; }
54 inline void SetObjectGroup(Aws::String&& value) { m_objectGroupHasBeenSet = true; m_objectGroup = std::move(value); }
55 inline void SetObjectGroup(const char* value) { m_objectGroupHasBeenSet = true; m_objectGroup.assign(value); }
56 inline MetricPolicyRule& WithObjectGroup(const Aws::String& value) { SetObjectGroup(value); return *this;}
57 inline MetricPolicyRule& WithObjectGroup(Aws::String&& value) { SetObjectGroup(std::move(value)); return *this;}
58 inline MetricPolicyRule& WithObjectGroup(const char* value) { SetObjectGroup(value); return *this;}
60
62
65 inline const Aws::String& GetObjectGroupName() const{ return m_objectGroupName; }
66 inline bool ObjectGroupNameHasBeenSet() const { return m_objectGroupNameHasBeenSet; }
67 inline void SetObjectGroupName(const Aws::String& value) { m_objectGroupNameHasBeenSet = true; m_objectGroupName = value; }
68 inline void SetObjectGroupName(Aws::String&& value) { m_objectGroupNameHasBeenSet = true; m_objectGroupName = std::move(value); }
69 inline void SetObjectGroupName(const char* value) { m_objectGroupNameHasBeenSet = true; m_objectGroupName.assign(value); }
70 inline MetricPolicyRule& WithObjectGroupName(const Aws::String& value) { SetObjectGroupName(value); return *this;}
71 inline MetricPolicyRule& WithObjectGroupName(Aws::String&& value) { SetObjectGroupName(std::move(value)); return *this;}
72 inline MetricPolicyRule& WithObjectGroupName(const char* value) { SetObjectGroupName(value); return *this;}
74 private:
75
76 Aws::String m_objectGroup;
77 bool m_objectGroupHasBeenSet = false;
78
79 Aws::String m_objectGroupName;
80 bool m_objectGroupNameHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace MediaStore
85} // namespace Aws
MetricPolicyRule & WithObjectGroupName(Aws::String &&value)
MetricPolicyRule & WithObjectGroup(Aws::String &&value)
const Aws::String & GetObjectGroupName() const
AWS_MEDIASTORE_API MetricPolicyRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetObjectGroup() const
void SetObjectGroup(const Aws::String &value)
MetricPolicyRule & WithObjectGroupName(const Aws::String &value)
void SetObjectGroupName(const Aws::String &value)
MetricPolicyRule & WithObjectGroup(const char *value)
MetricPolicyRule & WithObjectGroupName(const char *value)
void SetObjectGroupName(Aws::String &&value)
AWS_MEDIASTORE_API MetricPolicyRule(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIASTORE_API Aws::Utils::Json::JsonValue Jsonize() const
MetricPolicyRule & WithObjectGroup(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue