AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
NewAsoDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/detective/Detective_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Detective {
20namespace Model {
21
29 public:
30 AWS_DETECTIVE_API NewAsoDetail() = default;
31 AWS_DETECTIVE_API NewAsoDetail(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DETECTIVE_API NewAsoDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAso() const { return m_aso; }
40 inline bool AsoHasBeenSet() const { return m_asoHasBeenSet; }
41 template <typename AsoT = Aws::String>
42 void SetAso(AsoT&& value) {
43 m_asoHasBeenSet = true;
44 m_aso = std::forward<AsoT>(value);
45 }
46 template <typename AsoT = Aws::String>
47 NewAsoDetail& WithAso(AsoT&& value) {
48 SetAso(std::forward<AsoT>(value));
49 return *this;
50 }
52
54
58 inline bool GetIsNewForEntireAccount() const { return m_isNewForEntireAccount; }
59 inline bool IsNewForEntireAccountHasBeenSet() const { return m_isNewForEntireAccountHasBeenSet; }
60 inline void SetIsNewForEntireAccount(bool value) {
61 m_isNewForEntireAccountHasBeenSet = true;
62 m_isNewForEntireAccount = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_aso;
71 bool m_asoHasBeenSet = false;
72
73 bool m_isNewForEntireAccount{false};
74 bool m_isNewForEntireAccountHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Detective
79} // namespace Aws
AWS_DETECTIVE_API NewAsoDetail()=default
AWS_DETECTIVE_API NewAsoDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsNewForEntireAccount(bool value)
NewAsoDetail & WithAso(AsoT &&value)
AWS_DETECTIVE_API NewAsoDetail(Aws::Utils::Json::JsonView jsonValue)
NewAsoDetail & WithIsNewForEntireAccount(bool value)
const Aws::String & GetAso() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue