AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NewUserAgentDetail.h
1
6#pragma once
7#include <aws/detective/Detective_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 Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API NewUserAgentDetail() = default;
36 AWS_DETECTIVE_API NewUserAgentDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUserAgent() const { return m_userAgent; }
46 inline bool UserAgentHasBeenSet() const { return m_userAgentHasBeenSet; }
47 template<typename UserAgentT = Aws::String>
48 void SetUserAgent(UserAgentT&& value) { m_userAgentHasBeenSet = true; m_userAgent = std::forward<UserAgentT>(value); }
49 template<typename UserAgentT = Aws::String>
50 NewUserAgentDetail& WithUserAgent(UserAgentT&& value) { SetUserAgent(std::forward<UserAgentT>(value)); return *this;}
52
54
57 inline bool GetIsNewForEntireAccount() const { return m_isNewForEntireAccount; }
58 inline bool IsNewForEntireAccountHasBeenSet() const { return m_isNewForEntireAccountHasBeenSet; }
59 inline void SetIsNewForEntireAccount(bool value) { m_isNewForEntireAccountHasBeenSet = true; m_isNewForEntireAccount = value; }
60 inline NewUserAgentDetail& WithIsNewForEntireAccount(bool value) { SetIsNewForEntireAccount(value); return *this;}
62 private:
63
64 Aws::String m_userAgent;
65 bool m_userAgentHasBeenSet = false;
66
67 bool m_isNewForEntireAccount{false};
68 bool m_isNewForEntireAccountHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Detective
73} // namespace Aws
AWS_DETECTIVE_API NewUserAgentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
NewUserAgentDetail & WithUserAgent(UserAgentT &&value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
NewUserAgentDetail & WithIsNewForEntireAccount(bool value)
AWS_DETECTIVE_API NewUserAgentDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API NewUserAgentDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue