AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Owner.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
31 class Owner
32 {
33 public:
34 AWS_GUARDDUTY_API Owner();
35 AWS_GUARDDUTY_API Owner(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API Owner& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline Owner& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline Owner& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline Owner& WithId(const char* value) { SetId(value); return *this;}
56 private:
57
58 Aws::String m_id;
59 bool m_idHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace GuardDuty
64} // namespace Aws
Owner & WithId(const Aws::String &value)
Definition Owner.h:52
const Aws::String & GetId() const
Definition Owner.h:47
void SetId(const char *value)
Definition Owner.h:51
bool IdHasBeenSet() const
Definition Owner.h:48
AWS_GUARDDUTY_API Owner(Aws::Utils::Json::JsonView jsonValue)
Owner & WithId(const char *value)
Definition Owner.h:54
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Owner & WithId(Aws::String &&value)
Definition Owner.h:53
void SetId(Aws::String &&value)
Definition Owner.h:50
void SetId(const Aws::String &value)
Definition Owner.h:49
AWS_GUARDDUTY_API Owner()
AWS_GUARDDUTY_API Owner & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue