AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
SalesforceAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
29 public:
30 AWS_IOT_API SalesforceAction() = default;
34
36
41 inline const Aws::String& GetToken() const { return m_token; }
42 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
43 template <typename TokenT = Aws::String>
44 void SetToken(TokenT&& value) {
45 m_tokenHasBeenSet = true;
46 m_token = std::forward<TokenT>(value);
47 }
48 template <typename TokenT = Aws::String>
49 SalesforceAction& WithToken(TokenT&& value) {
50 SetToken(std::forward<TokenT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetUrl() const { return m_url; }
62 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
63 template <typename UrlT = Aws::String>
64 void SetUrl(UrlT&& value) {
65 m_urlHasBeenSet = true;
66 m_url = std::forward<UrlT>(value);
67 }
68 template <typename UrlT = Aws::String>
69 SalesforceAction& WithUrl(UrlT&& value) {
70 SetUrl(std::forward<UrlT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_token;
76
77 Aws::String m_url;
78 bool m_tokenHasBeenSet = false;
79 bool m_urlHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace IoT
84} // namespace Aws
AWS_IOT_API SalesforceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceAction & WithUrl(UrlT &&value)
AWS_IOT_API SalesforceAction(Aws::Utils::Json::JsonView jsonValue)
SalesforceAction & WithToken(TokenT &&value)
const Aws::String & GetToken() const
AWS_IOT_API SalesforceAction()=default
const Aws::String & GetUrl() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue